Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
leds-wrap.c File Reference
#include <linux/kernel.h>
#include <linux/init.h>
#include <linux/platform_device.h>
#include <linux/leds.h>
#include <linux/err.h>
#include <asm/io.h>
#include <linux/scx200_gpio.h>
#include <linux/module.h>

Go to the source code of this file.

Macros

#define DRVNAME   "wrap-led"
 
#define WRAP_POWER_LED_GPIO   2
 
#define WRAP_ERROR_LED_GPIO   3
 
#define WRAP_EXTRA_LED_GPIO   18
 

Functions

 module_init (wrap_led_init)
 
 module_exit (wrap_led_exit)
 
 MODULE_AUTHOR ("Kristian Kielhofner <[email protected]>")
 
 MODULE_DESCRIPTION ("PCEngines WRAP LED driver")
 
 MODULE_LICENSE ("GPL")
 

Macro Definition Documentation

#define DRVNAME   "wrap-led"

Definition at line 22 of file leds-wrap.c.

#define WRAP_ERROR_LED_GPIO   3

Definition at line 24 of file leds-wrap.c.

#define WRAP_EXTRA_LED_GPIO   18

Definition at line 25 of file leds-wrap.c.

#define WRAP_POWER_LED_GPIO   2

Definition at line 23 of file leds-wrap.c.

Function Documentation

MODULE_AUTHOR ( "Kristian Kielhofner <[email protected]>"  )
MODULE_DESCRIPTION ( "PCEngines WRAP LED driver )
module_exit ( wrap_led_exit  )
module_init ( wrap_led_init  )
MODULE_LICENSE ( "GPL"  )