diff options
Diffstat (limited to 'arch/blackfin/mach-bf561/boards/acvilon.c')
-rw-r--r-- | arch/blackfin/mach-bf561/boards/acvilon.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/arch/blackfin/mach-bf561/boards/acvilon.c b/arch/blackfin/mach-bf561/boards/acvilon.c index 07e8dc8770da..bfcfa86db2b5 100644 --- a/arch/blackfin/mach-bf561/boards/acvilon.c +++ b/arch/blackfin/mach-bf561/boards/acvilon.c | |||
@@ -44,6 +44,7 @@ | |||
44 | #include <linux/spi/flash.h> | 44 | #include <linux/spi/flash.h> |
45 | #include <linux/irq.h> | 45 | #include <linux/irq.h> |
46 | #include <linux/interrupt.h> | 46 | #include <linux/interrupt.h> |
47 | #include <linux/jiffies.h> | ||
47 | #include <linux/i2c-pca-platform.h> | 48 | #include <linux/i2c-pca-platform.h> |
48 | #include <linux/delay.h> | 49 | #include <linux/delay.h> |
49 | #include <linux/io.h> | 50 | #include <linux/io.h> |
@@ -112,7 +113,7 @@ static struct resource bfin_i2c_pca_resources[] = { | |||
112 | struct i2c_pca9564_pf_platform_data pca9564_platform_data = { | 113 | struct i2c_pca9564_pf_platform_data pca9564_platform_data = { |
113 | .gpio = -1, | 114 | .gpio = -1, |
114 | .i2c_clock_speed = 330000, | 115 | .i2c_clock_speed = 330000, |
115 | .timeout = 10000 | 116 | .timeout = HZ, |
116 | }; | 117 | }; |
117 | 118 | ||
118 | /* PCA9564 I2C Bus driver */ | 119 | /* PCA9564 I2C Bus driver */ |
@@ -176,7 +177,7 @@ static struct resource smsc911x_resources[] = { | |||
176 | }; | 177 | }; |
177 | 178 | ||
178 | static struct smsc911x_platform_config smsc911x_config = { | 179 | static struct smsc911x_platform_config smsc911x_config = { |
179 | .flags = SMSC911X_USE_32BIT, | 180 | .flags = SMSC911X_USE_32BIT | SMSC911X_SAVE_MAC_ADDRESS, |
180 | .irq_polarity = SMSC911X_IRQ_POLARITY_ACTIVE_LOW, | 181 | .irq_polarity = SMSC911X_IRQ_POLARITY_ACTIVE_LOW, |
181 | .irq_type = SMSC911X_IRQ_TYPE_OPEN_DRAIN, | 182 | .irq_type = SMSC911X_IRQ_TYPE_OPEN_DRAIN, |
182 | .phy_interface = PHY_INTERFACE_MODE_MII, | 183 | .phy_interface = PHY_INTERFACE_MODE_MII, |