Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Enumerations | Functions
leds-ns2.c File Reference
#include <linux/kernel.h>
#include <linux/init.h>
#include <linux/platform_device.h>
#include <linux/slab.h>
#include <linux/gpio.h>
#include <linux/leds.h>
#include <linux/module.h>
#include <linux/platform_data/leds-kirkwood-ns2.h>

Go to the source code of this file.

Data Structures

struct  ns2_led_mode_value
 
struct  ns2_led_data
 

Enumerations

enum  ns2_led_modes { NS_V2_LED_OFF, NS_V2_LED_ON, NS_V2_LED_SATA }
 

Functions

 module_platform_driver (ns2_led_driver)
 
 MODULE_AUTHOR ("Simon Guinot <[email protected]>")
 
 MODULE_DESCRIPTION ("Network Space v2 LED driver")
 
 MODULE_LICENSE ("GPL")
 
 MODULE_ALIAS ("platform:leds-ns2")
 

Enumeration Type Documentation

Enumerator:
NS_V2_LED_OFF 
NS_V2_LED_ON 
NS_V2_LED_SATA 

Definition at line 50 of file leds-ns2.c.

Function Documentation

MODULE_ALIAS ( "platform:leds-ns2"  )
MODULE_AUTHOR ( "Simon Guinot <[email protected]>"  )
MODULE_DESCRIPTION ( "Network Space v2 LED driver )
MODULE_LICENSE ( "GPL"  )
module_platform_driver ( ns2_led_driver  )