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

Go to the source code of this file.

Macros

#define FSG_LED_WLAN_BIT   0
 
#define FSG_LED_WAN_BIT   1
 
#define FSG_LED_SATA_BIT   2
 
#define FSG_LED_USB_BIT   4
 
#define FSG_LED_RING_BIT   5
 
#define FSG_LED_SYNC_BIT   7
 

Functions

 module_platform_driver (fsg_led_driver)
 
 MODULE_AUTHOR ("Rod Whitby <[email protected]>")
 
 MODULE_DESCRIPTION ("Freecom FSG-3 LED driver")
 
 MODULE_LICENSE ("GPL")
 

Macro Definition Documentation

#define FSG_LED_RING_BIT   5

Definition at line 30 of file leds-fsg.c.

#define FSG_LED_SATA_BIT   2

Definition at line 28 of file leds-fsg.c.

#define FSG_LED_SYNC_BIT   7

Definition at line 31 of file leds-fsg.c.

#define FSG_LED_USB_BIT   4

Definition at line 29 of file leds-fsg.c.

#define FSG_LED_WAN_BIT   1

Definition at line 27 of file leds-fsg.c.

#define FSG_LED_WLAN_BIT   0

Definition at line 26 of file leds-fsg.c.

Function Documentation

MODULE_AUTHOR ( "Rod Whitby <[email protected]>"  )
MODULE_DESCRIPTION ( "Freecom FSG-3 LED driver )
MODULE_LICENSE ( "GPL"  )
module_platform_driver ( fsg_led_driver  )