Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
atm_sysfs.c File Reference
#include <linux/kernel.h>
#include <linux/slab.h>
#include <linux/init.h>
#include <linux/kobject.h>
#include <linux/atmdev.h>
#include "common.h"
#include "resources.h"

Go to the source code of this file.

Macros

#define to_atm_dev(cldev)   container_of(cldev, struct atm_dev, class_dev)
 

Functions

int atm_register_sysfs (struct atm_dev *adev, struct device *parent)
 
void atm_unregister_sysfs (struct atm_dev *adev)
 
int __init atm_sysfs_init (void)
 
void __exit atm_sysfs_exit (void)
 

Macro Definition Documentation

#define to_atm_dev (   cldev)    container_of(cldev, struct atm_dev, class_dev)

Definition at line 11 of file atm_sysfs.c.

Function Documentation

int atm_register_sysfs ( struct atm_dev adev,
struct device parent 
)

Definition at line 156 of file atm_sysfs.c.

void __exit atm_sysfs_exit ( void  )

Definition at line 197 of file atm_sysfs.c.

int __init atm_sysfs_init ( void  )

Definition at line 192 of file atm_sysfs.c.

void atm_unregister_sysfs ( struct atm_dev adev)

Definition at line 185 of file atm_sysfs.c.