|
Linux Kernel
3.7.1
|
#include <linux/init.h>#include <linux/module.h>#include <linux/kernel.h>#include <linux/slab.h>#include <linux/errno.h>#include <linux/i2c.h>Go to the source code of this file.
Data Structures | |
| struct | stub_chip |
Macros | |
| #define | DEBUG 1 |
| #define | MAX_CHIPS 10 |
| #define | STUB_FUNC |
Functions | |
| module_param_array (chip_addr, ushort, NULL, S_IRUGO) | |
| MODULE_PARM_DESC (chip_addr,"Chip addresses (up to 10, between 0x03 and 0x77)") | |
| module_param (functionality, ulong, S_IRUGO|S_IWUSR) | |
| MODULE_PARM_DESC (functionality,"Override functionality bitfield") | |
| MODULE_AUTHOR ("Mark M. Hoffman <[email protected]>") | |
| MODULE_DESCRIPTION ("I2C stub driver") | |
| MODULE_LICENSE ("GPL") | |
| module_init (i2c_stub_init) | |
| module_exit (i2c_stub_exit) | |
| #define DEBUG 1 |
Definition at line 22 of file i2c-stub.c.
| #define MAX_CHIPS 10 |
Definition at line 31 of file i2c-stub.c.
| #define STUB_FUNC |
Definition at line 32 of file i2c-stub.c.
| MODULE_AUTHOR | ( | "Mark M. Hoffman <[email protected]>" | ) |
| MODULE_DESCRIPTION | ( | "I2C stub driver" | ) |
| module_exit | ( | i2c_stub_exit | ) |
| module_init | ( | i2c_stub_init | ) |
| MODULE_LICENSE | ( | "GPL" | ) |
| MODULE_PARM_DESC | ( | chip_addr | , |
| "Chip addresses (up to 10, between 0x03 and 0x77)" | |||
| ) |
| MODULE_PARM_DESC | ( | functionality | , |
| "Override functionality bitfield" | |||
| ) |
1.8.2