summaryrefslogtreecommitdiff
path: root/drivers/net/sfc/boards.c
diff options
context:
space:
mode:
authorJean Delvare <khali@linux-fr.org>2009-04-08 15:59:53 -0700
committerDavid S. Miller <davem@davemloft.net>2009-04-08 15:59:53 -0700
commit8509500ac4c82c1e31515ffda6028f88693f49fd (patch)
treedb5108f85f6288502e416917e3101d46765e52b7 /drivers/net/sfc/boards.c
parentea7eaa39ffadffaa8f1dd1a1f85fa38bf8ae9d39 (diff)
sfc: Don't specify unexistent IRQ
Neither the lm90 driver nor the lm87 driver do support interrupts, so there is no point in specifying one when declaring the devices. Signed-off-by: Jean Delvare <khali@linux-fr.org> Signed-off-by: Ben Hutchings <bhutchings@solarflare.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/sfc/boards.c')
-rw-r--r--drivers/net/sfc/boards.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/net/sfc/boards.c b/drivers/net/sfc/boards.c
index 5182ac5a1034..4a4c74c891b7 100644
--- a/drivers/net/sfc/boards.c
+++ b/drivers/net/sfc/boards.c
@@ -172,7 +172,6 @@ static const u8 sfe4002_lm87_regs[] = {
static struct i2c_board_info sfe4002_hwmon_info = {
I2C_BOARD_INFO("lm87", 0x2e),
.platform_data = &sfe4002_lm87_channel,
- .irq = -1,
};
/****************************************************************************/
@@ -247,7 +246,6 @@ static const u8 sfn4112f_lm87_regs[] = {
static struct i2c_board_info sfn4112f_hwmon_info = {
I2C_BOARD_INFO("lm87", 0x2e),
.platform_data = &sfn4112f_lm87_channel,
- .irq = -1,
};
#define SFN4112F_ACT_LED 0