#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/ioport.h>
#include <linux/delay.h>
#include <linux/slab.h>
#include <linux/init.h>
#include <linux/interrupt.h>
#include <asm/irq.h>
#include <linux/io.h>
#include <linux/i2c.h>
#include <linux/of_platform.h>
#include <linux/of_i2c.h>
#include "i2c-ibm_iic.h"
Go to the source code of this file.
#define DBG |
( |
|
f, |
|
|
|
x... |
|
) |
| ((void)0) |
#define DBG2 |
( |
|
f, |
|
|
|
x... |
|
) |
| ((void)0) |
#define DRIVER_VERSION "2.2" |
MODULE_DESCRIPTION |
( |
"IBM IIC driver v" |
DRIVER_VERSION | ) |
|
module_param |
( |
iic_force_poll |
, |
|
|
bool |
, |
|
|
0 |
|
|
) |
| |
module_param |
( |
iic_force_fast |
, |
|
|
bool |
, |
|
|
0 |
|
|
) |
| |
MODULE_PARM_DESC |
( |
iic_force_poll |
, |
|
|
"Force polling mode" |
|
|
) |
| |
MODULE_PARM_DESC |
( |
iic_force_fast |
, |
|
|
"Force fast mode (400 kHz)" |
|
|
) |
| |
module_platform_driver |
( |
ibm_iic_driver |
| ) |
|