Linux Kernel
3.7.1
|
#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/i2c.h>
#include <asm/prom.h>
#include <asm/machdep.h>
#include <asm/io.h>
#include <asm/sections.h>
#include <asm/pmac_low_i2c.h>
#include "windfarm.h"
Go to the source code of this file.
Data Structures | |
struct | wf_lm75_sensor |
Macros | |
#define | VERSION "1.0" |
#define | DBG(args...) do { } while(0) |
#define | wf_to_lm75(c) container_of(c, struct wf_lm75_sensor, sens) |
Functions | |
MODULE_DEVICE_TABLE (i2c, wf_lm75_id) | |
module_init (wf_lm75_sensor_init) | |
module_exit (wf_lm75_sensor_exit) | |
MODULE_AUTHOR ("Benjamin Herrenschmidt <[email protected]>") | |
MODULE_DESCRIPTION ("LM75 sensor objects for PowerMacs thermal control") | |
MODULE_LICENSE ("GPL") | |
#define DBG | ( | args... | ) | do { } while(0) |
Definition at line 33 of file windfarm_lm75_sensor.c.
#define VERSION "1.0" |
Definition at line 26 of file windfarm_lm75_sensor.c.
#define wf_to_lm75 | ( | c | ) | container_of(c, struct wf_lm75_sensor, sens) |
Definition at line 42 of file windfarm_lm75_sensor.c.
MODULE_AUTHOR | ( | "Benjamin Herrenschmidt <[email protected]>" | ) |
MODULE_DEVICE_TABLE | ( | i2c | , |
wf_lm75_id | |||
) |
module_exit | ( | wf_lm75_sensor_exit | ) |
module_init | ( | wf_lm75_sensor_init | ) |
MODULE_LICENSE | ( | "GPL" | ) |