Linux Kernel
3.7.1
|
#include <linux/types.h>
#include <linux/errno.h>
#include <linux/kernel.h>
#include <linux/init.h>
#include <linux/slab.h>
#include <linux/i2c.h>
#include <asm/prom.h>
#include <asm/pmac_low_i2c.h>
#include "windfarm.h"
Go to the source code of this file.
Data Structures | |
struct | wf_6690_sensor |
Macros | |
#define | VERSION "1.0" |
#define | MAX6690_INTERNAL_TEMP 0 |
#define | MAX6690_EXTERNAL_TEMP 1 |
#define | wf_to_6690(x) container_of((x), struct wf_6690_sensor, sens) |
Functions | |
MODULE_DEVICE_TABLE (i2c, wf_max6690_id) | |
module_init (wf_max6690_sensor_init) | |
module_exit (wf_max6690_sensor_exit) | |
MODULE_AUTHOR ("Paul Mackerras <[email protected]>") | |
MODULE_DESCRIPTION ("MAX6690 sensor objects for PowerMac thermal control") | |
MODULE_LICENSE ("GPL") | |
#define MAX6690_EXTERNAL_TEMP 1 |
Definition at line 26 of file windfarm_max6690_sensor.c.
#define MAX6690_INTERNAL_TEMP 0 |
Definition at line 25 of file windfarm_max6690_sensor.c.
#define VERSION "1.0" |
Definition at line 19 of file windfarm_max6690_sensor.c.
#define wf_to_6690 | ( | x | ) | container_of((x), struct wf_6690_sensor, sens) |
Definition at line 33 of file windfarm_max6690_sensor.c.
MODULE_AUTHOR | ( | "Paul Mackerras <[email protected]>" | ) |
MODULE_DEVICE_TABLE | ( | i2c | , |
wf_max6690_id | |||
) |
module_exit | ( | wf_max6690_sensor_exit | ) |
module_init | ( | wf_max6690_sensor_init | ) |
MODULE_LICENSE | ( | "GPL" | ) |