Linux Kernel
3.7.1
|
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/init.h>
#include <linux/leds.h>
#include <linux/io.h>
#include <linux/platform_device.h>
#include <linux/slab.h>
#include <asm/fhc.h>
#include <asm/upa.h>
Go to the source code of this file.
Data Structures | |
struct | sunfire_led |
struct | led_type |
struct | sunfire_drvdata |
Macros | |
#define | DRIVER_NAME "leds-sunfire" |
#define | PFX DRIVER_NAME ": " |
#define | to_sunfire_led(d) container_of(d, struct sunfire_led, led_cdev) |
#define | NUM_LEDS_PER_BOARD 3 |
Typedefs | |
typedef void(* | set_handler )(struct led_classdev *, enum led_brightness) |
Functions | |
MODULE_AUTHOR ("David S. Miller ([email protected])") | |
MODULE_DESCRIPTION ("Sun Fire LED driver") | |
MODULE_LICENSE ("GPL") | |
MODULE_ALIAS ("platform:sunfire-clockboard-leds") | |
MODULE_ALIAS ("platform:sunfire-fhc-leds") | |
module_init (sunfire_leds_init) | |
module_exit (sunfire_leds_exit) | |
#define DRIVER_NAME "leds-sunfire" |
Definition at line 17 of file leds-sunfire.c.
#define NUM_LEDS_PER_BOARD 3 |
Definition at line 121 of file leds-sunfire.c.
#define PFX DRIVER_NAME ": " |
Definition at line 18 of file leds-sunfire.c.
#define to_sunfire_led | ( | d | ) | container_of(d, struct sunfire_led, led_cdev) |
Definition at line 28 of file leds-sunfire.c.
typedef void(* set_handler)(struct led_classdev *, enum led_brightness) |
Definition at line 114 of file leds-sunfire.c.
MODULE_ALIAS | ( | "platform:sunfire-clockboard-leds" | ) |
MODULE_ALIAS | ( | "platform:sunfire-fhc-leds" | ) |
MODULE_AUTHOR | ( | "David S. Miller ([email protected])" | ) |
module_exit | ( | sunfire_leds_exit | ) |
module_init | ( | sunfire_leds_init | ) |
MODULE_LICENSE | ( | "GPL" | ) |