Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
mc13783-adc.c File Reference
#include <linux/mfd/mc13xxx.h>
#include <linux/platform_device.h>
#include <linux/hwmon-sysfs.h>
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/hwmon.h>
#include <linux/slab.h>
#include <linux/init.h>
#include <linux/err.h>

Go to the source code of this file.

Data Structures

struct  mc13783_adc_priv
 

Macros

#define DRIVER_NAME   "mc13783-adc"
 
#define MC13783_ADC_16CHANS   1
 
#define MC13783_ADC_BPDIV2   2
 

Functions

 MODULE_DEVICE_TABLE (platform, mc13783_adc_idtable)
 
 module_init (mc13783_adc_init)
 
 module_exit (mc13783_adc_exit)
 
 MODULE_DESCRIPTION ("MC13783 ADC driver")
 
 MODULE_AUTHOR ("Luotao Fu <[email protected]>")
 
 MODULE_LICENSE ("GPL")
 

Macro Definition Documentation

#define DRIVER_NAME   "mc13783-adc"

Definition at line 31 of file mc13783-adc.c.

#define MC13783_ADC_16CHANS   1

Definition at line 34 of file mc13783-adc.c.

#define MC13783_ADC_BPDIV2   2

Definition at line 35 of file mc13783-adc.c.

Function Documentation

MODULE_AUTHOR ( "Luotao Fu <[email protected]>"  )
MODULE_DESCRIPTION ( "MC13783 ADC driver )
MODULE_DEVICE_TABLE ( platform  ,
mc13783_adc_idtable   
)
module_exit ( mc13783_adc_exit  )
module_init ( mc13783_adc_init  )
MODULE_LICENSE ( "GPL"  )