git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fedora kernel-2.6.17-1.2142_FC4 patched with stable patch-2.6.17.4-vs2.0.2-rc26.diff
[linux-2.6.git]
/
drivers
/
i2c
/
busses
/
i2c-stub.c
diff --git
a/drivers/i2c/busses/i2c-stub.c
b/drivers/i2c/busses/i2c-stub.c
index
19c805e
..
73f481e
100644
(file)
--- a/
drivers/i2c/busses/i2c-stub.c
+++ b/
drivers/i2c/busses/i2c-stub.c
@@
-21,7
+21,6
@@
#define DEBUG 1
#define DEBUG 1
-#include <linux/config.h>
#include <linux/init.h>
#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/init.h>
#include <linux/module.h>
#include <linux/kernel.h>
@@
-110,8
+109,6
@@
static u32 stub_func(struct i2c_adapter *adapter)
}
static struct i2c_algorithm smbus_algorithm = {
}
static struct i2c_algorithm smbus_algorithm = {
- .name = "Non-I2C SMBus adapter",
- .id = I2C_ALGO_SMBUS,
.functionality = stub_func,
.smbus_xfer = stub_xfer,
};
.functionality = stub_func,
.smbus_xfer = stub_xfer,
};