Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
nvec_paz00.c File Reference
#include <linux/module.h>
#include <linux/err.h>
#include <linux/slab.h>
#include <linux/leds.h>
#include <linux/platform_device.h>
#include "nvec.h"

Go to the source code of this file.

Data Structures

struct  nvec_led
 

Macros

#define to_nvec_led(led_cdev)   container_of(led_cdev, struct nvec_led, cdev)
 
#define NVEC_LED_REQ   {'\x0d', '\x10', '\x45', '\x10', '\x00'}
 
#define NVEC_LED_MAX   8
 

Functions

 module_platform_driver (nvec_paz00_driver)
 
 MODULE_AUTHOR ("Ilya Petrov <[email protected]>")
 
 MODULE_DESCRIPTION ("Tegra NVEC PAZ00 driver")
 
 MODULE_LICENSE ("GPL")
 
 MODULE_ALIAS ("platform:nvec-paz00")
 

Macro Definition Documentation

#define NVEC_LED_MAX   8

Definition at line 26 of file nvec_paz00.c.

#define NVEC_LED_REQ   {'\x0d', '\x10', '\x45', '\x10', '\x00'}

Definition at line 24 of file nvec_paz00.c.

#define to_nvec_led (   led_cdev)    container_of(led_cdev, struct nvec_led, cdev)

Definition at line 21 of file nvec_paz00.c.

Function Documentation

MODULE_ALIAS ( "platform:nvec-paz00"  )
MODULE_AUTHOR ( "Ilya Petrov <[email protected]>"  )
MODULE_DESCRIPTION ( "Tegra NVEC PAZ00 driver )
MODULE_LICENSE ( "GPL"  )
module_platform_driver ( nvec_paz00_driver  )