Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
windfarm_smu_controls.c File Reference
#include <linux/types.h>
#include <linux/errno.h>
#include <linux/kernel.h>
#include <linux/delay.h>
#include <linux/slab.h>
#include <linux/init.h>
#include <linux/wait.h>
#include <linux/completion.h>
#include <asm/prom.h>
#include <asm/machdep.h>
#include <asm/io.h>
#include <asm/sections.h>
#include <asm/smu.h>
#include "windfarm.h"

Go to the source code of this file.

Data Structures

struct  smu_fan_control
 

Macros

#define VERSION   "0.4"
 
#define DBG(args...)   do { } while(0)
 
#define to_smu_fan(c)   container_of(c, struct smu_fan_control, ctrl)
 

Functions

 module_init (smu_controls_init)
 
 module_exit (smu_controls_exit)
 
 MODULE_AUTHOR ("Benjamin Herrenschmidt <[email protected]>")
 
 MODULE_DESCRIPTION ("SMU control objects for PowerMacs thermal control")
 
 MODULE_LICENSE ("GPL")
 

Macro Definition Documentation

#define DBG (   args...)    do { } while(0)

Definition at line 33 of file windfarm_smu_controls.c.

#define to_smu_fan (   c)    container_of(c, struct smu_fan_control, ctrl)

Definition at line 52 of file windfarm_smu_controls.c.

#define VERSION   "0.4"

Definition at line 26 of file windfarm_smu_controls.c.

Function Documentation

MODULE_AUTHOR ( "Benjamin Herrenschmidt <[email protected]>"  )
MODULE_DESCRIPTION ( "SMU control objects for PowerMacs thermal control )
module_exit ( smu_controls_exit  )
module_init ( smu_controls_init  )
MODULE_LICENSE ( "GPL"  )