diff options
Diffstat (limited to 'arch/arm/mach-kirkwood/board-nsa310.c')
-rw-r--r-- | arch/arm/mach-kirkwood/board-nsa310.c | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/arch/arm/mach-kirkwood/board-nsa310.c b/arch/arm/mach-kirkwood/board-nsa310.c index f58d2e1a4042..970174ad4a70 100644 --- a/arch/arm/mach-kirkwood/board-nsa310.c +++ b/arch/arm/mach-kirkwood/board-nsa310.c | |||
@@ -10,12 +10,10 @@ | |||
10 | 10 | ||
11 | #include <linux/kernel.h> | 11 | #include <linux/kernel.h> |
12 | #include <linux/init.h> | 12 | #include <linux/init.h> |
13 | #include <linux/i2c.h> | ||
14 | #include <linux/gpio.h> | 13 | #include <linux/gpio.h> |
15 | 14 | #include <linux/i2c.h> | |
16 | #include <asm/mach-types.h> | ||
17 | #include <asm/mach/arch.h> | ||
18 | #include <mach/kirkwood.h> | 15 | #include <mach/kirkwood.h> |
16 | #include <linux/of.h> | ||
19 | #include "common.h" | 17 | #include "common.h" |
20 | #include "mpp.h" | 18 | #include "mpp.h" |
21 | 19 | ||
@@ -79,14 +77,10 @@ static void __init nsa310_gpio_init(void) | |||
79 | 77 | ||
80 | void __init nsa310_init(void) | 78 | void __init nsa310_init(void) |
81 | { | 79 | { |
82 | u32 dev, rev; | ||
83 | |||
84 | kirkwood_mpp_conf(nsa310_mpp_config); | 80 | kirkwood_mpp_conf(nsa310_mpp_config); |
85 | 81 | ||
86 | nsa310_gpio_init(); | 82 | nsa310_gpio_init(); |
87 | 83 | ||
88 | kirkwood_pcie_id(&dev, &rev); | ||
89 | |||
90 | i2c_register_board_info(0, ARRAY_AND_SIZE(nsa310_i2c_info)); | 84 | i2c_register_board_info(0, ARRAY_AND_SIZE(nsa310_i2c_info)); |
91 | } | 85 | } |
92 | 86 | ||