diff options
author | Jean Delvare <khali@linux-fr.org> | 2009-04-08 18:59:53 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-04-08 18:59:53 -0400 |
commit | 8509500ac4c82c1e31515ffda6028f88693f49fd (patch) | |
tree | db5108f85f6288502e416917e3101d46765e52b7 /drivers/net/sfc | |
parent | ea7eaa39ffadffaa8f1dd1a1f85fa38bf8ae9d39 (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')
-rw-r--r-- | drivers/net/sfc/boards.c | 2 | ||||
-rw-r--r-- | drivers/net/sfc/sfe4001.c | 3 |
2 files changed, 0 insertions, 5 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[] = { | |||
172 | static struct i2c_board_info sfe4002_hwmon_info = { | 172 | static struct i2c_board_info sfe4002_hwmon_info = { |
173 | I2C_BOARD_INFO("lm87", 0x2e), | 173 | I2C_BOARD_INFO("lm87", 0x2e), |
174 | .platform_data = &sfe4002_lm87_channel, | 174 | .platform_data = &sfe4002_lm87_channel, |
175 | .irq = -1, | ||
176 | }; | 175 | }; |
177 | 176 | ||
178 | /****************************************************************************/ | 177 | /****************************************************************************/ |
@@ -247,7 +246,6 @@ static const u8 sfn4112f_lm87_regs[] = { | |||
247 | static struct i2c_board_info sfn4112f_hwmon_info = { | 246 | static struct i2c_board_info sfn4112f_hwmon_info = { |
248 | I2C_BOARD_INFO("lm87", 0x2e), | 247 | I2C_BOARD_INFO("lm87", 0x2e), |
249 | .platform_data = &sfn4112f_lm87_channel, | 248 | .platform_data = &sfn4112f_lm87_channel, |
250 | .irq = -1, | ||
251 | }; | 249 | }; |
252 | 250 | ||
253 | #define SFN4112F_ACT_LED 0 | 251 | #define SFN4112F_ACT_LED 0 |
diff --git a/drivers/net/sfc/sfe4001.c b/drivers/net/sfc/sfe4001.c index 4eac5da81e5a..cee00ad49b57 100644 --- a/drivers/net/sfc/sfe4001.c +++ b/drivers/net/sfc/sfe4001.c | |||
@@ -296,7 +296,6 @@ static int sfe4001_check_hw(struct efx_nic *efx) | |||
296 | 296 | ||
297 | static struct i2c_board_info sfe4001_hwmon_info = { | 297 | static struct i2c_board_info sfe4001_hwmon_info = { |
298 | I2C_BOARD_INFO("max6647", 0x4e), | 298 | I2C_BOARD_INFO("max6647", 0x4e), |
299 | .irq = -1, | ||
300 | }; | 299 | }; |
301 | 300 | ||
302 | /* This board uses an I2C expander to provider power to the PHY, which needs to | 301 | /* This board uses an I2C expander to provider power to the PHY, which needs to |
@@ -389,12 +388,10 @@ static void sfn4111t_fini(struct efx_nic *efx) | |||
389 | 388 | ||
390 | static struct i2c_board_info sfn4111t_a0_hwmon_info = { | 389 | static struct i2c_board_info sfn4111t_a0_hwmon_info = { |
391 | I2C_BOARD_INFO("max6647", 0x4e), | 390 | I2C_BOARD_INFO("max6647", 0x4e), |
392 | .irq = -1, | ||
393 | }; | 391 | }; |
394 | 392 | ||
395 | static struct i2c_board_info sfn4111t_r5_hwmon_info = { | 393 | static struct i2c_board_info sfn4111t_r5_hwmon_info = { |
396 | I2C_BOARD_INFO("max6646", 0x4d), | 394 | I2C_BOARD_INFO("max6646", 0x4d), |
397 | .irq = -1, | ||
398 | }; | 395 | }; |
399 | 396 | ||
400 | int sfn4111t_init(struct efx_nic *efx) | 397 | int sfn4111t_init(struct efx_nic *efx) |