Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
leds-wm831x-status.c File Reference
#include <linux/kernel.h>
#include <linux/init.h>
#include <linux/platform_device.h>
#include <linux/slab.h>
#include <linux/leds.h>
#include <linux/err.h>
#include <linux/mfd/wm831x/core.h>
#include <linux/mfd/wm831x/pdata.h>
#include <linux/mfd/wm831x/status.h>
#include <linux/module.h>

Go to the source code of this file.

Data Structures

struct  wm831x_status
 

Macros

#define to_wm831x_status(led_cdev)   container_of(led_cdev, struct wm831x_status, cdev)
 

Functions

 module_platform_driver (wm831x_status_driver)
 
 MODULE_AUTHOR ("Mark Brown <[email protected]>")
 
 MODULE_DESCRIPTION ("WM831x status LED driver")
 
 MODULE_LICENSE ("GPL")
 
 MODULE_ALIAS ("platform:wm831x-status")
 

Macro Definition Documentation

#define to_wm831x_status (   led_cdev)    container_of(led_cdev, struct wm831x_status, cdev)

Definition at line 41 of file leds-wm831x-status.c.

Function Documentation

MODULE_ALIAS ( "platform:wm831x-status )
MODULE_AUTHOR ( "Mark Brown <[email protected]>"  )
MODULE_DESCRIPTION ( "WM831x status LED driver )
MODULE_LICENSE ( "GPL"  )
module_platform_driver ( wm831x_status_driver  )