Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
apple_bl.c File Reference
#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/init.h>
#include <linux/backlight.h>
#include <linux/err.h>
#include <linux/io.h>
#include <linux/pci.h>
#include <linux/acpi.h>
#include <linux/atomic.h>
#include <linux/apple_bl.h>

Go to the source code of this file.

Data Structures

struct  hw_data
 

Macros

#define pr_fmt(fmt)   KBUILD_MODNAME ": " fmt
 

Functions

 module_param_named (debug, debug, int, 0644)
 
 MODULE_PARM_DESC (debug,"Set to one to enable debugging messages.")
 
int apple_bl_register (void)
 
 EXPORT_SYMBOL_GPL (apple_bl_register)
 
void apple_bl_unregister (void)
 
 EXPORT_SYMBOL_GPL (apple_bl_unregister)
 
 module_init (apple_bl_init)
 
 module_exit (apple_bl_exit)
 
 MODULE_AUTHOR ("Matthew Garrett <[email protected]>")
 
 MODULE_DESCRIPTION ("Apple Backlight Driver")
 
 MODULE_LICENSE ("GPL")
 
 MODULE_DEVICE_TABLE (acpi, apple_bl_ids)
 
 MODULE_ALIAS ("mbp_nvidia_bl")
 

Macro Definition Documentation

#define pr_fmt (   fmt)    KBUILD_MODNAME ": " fmt

Definition at line 19 of file apple_bl.c.

Function Documentation

int apple_bl_register ( void  )

Definition at line 224 of file apple_bl.c.

void apple_bl_unregister ( void  )

Definition at line 233 of file apple_bl.c.

EXPORT_SYMBOL_GPL ( apple_bl_register  )
EXPORT_SYMBOL_GPL ( apple_bl_unregister  )
MODULE_ALIAS ( "mbp_nvidia_bl"  )
MODULE_AUTHOR ( "Matthew Garrett <[email protected]>"  )
MODULE_DESCRIPTION ( "Apple Backlight Driver"  )
MODULE_DEVICE_TABLE ( acpi  ,
apple_bl_ids   
)
module_exit ( apple_bl_exit  )
module_init ( apple_bl_init  )
MODULE_LICENSE ( "GPL"  )
module_param_named ( debug  ,
debug  ,
int  ,
0644   
)
MODULE_PARM_DESC ( debug  ,
"Set to one to enable debugging messages."   
)