aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-kirkwood
diff options
context:
space:
mode:
authorOlof Johansson <olof@lixom.net>2013-01-29 17:53:13 -0500
committerOlof Johansson <olof@lixom.net>2013-01-29 17:53:13 -0500
commit1576a31c61d41a0bb549a3aabd10f42c5e233de4 (patch)
tree43cd8164937a8c5950c96d1d267c59b0739792f9 /arch/arm/mach-kirkwood
parent00f4c14d183fe78814de57ca651829603f8b1459 (diff)
parent63a069739a5826ab4007da88b7ec71eb9909271c (diff)
Merge tag 'cleanup_for_v3.9_round2' of git://git.infradead.org/users/jcooper/linux into next/cleanup
From Jason Cooper: cleanup for v3.9 round2 - remove unneeded #includes for mach-dove - remove unneeded #includes and code for the nsa310 * tag 'cleanup_for_v3.9_round2' of git://git.infradead.org/users/jcooper/linux: ARM: dove: cleanup includes ARM: kirkwood: nsa310: cleanup includes and unneeded code
Diffstat (limited to 'arch/arm/mach-kirkwood')
-rw-r--r--arch/arm/mach-kirkwood/board-nsa310.c9
1 files changed, 1 insertions, 8 deletions
diff --git a/arch/arm/mach-kirkwood/board-nsa310.c b/arch/arm/mach-kirkwood/board-nsa310.c
index f58d2e1a4042..61c4b189d067 100644
--- a/arch/arm/mach-kirkwood/board-nsa310.c
+++ b/arch/arm/mach-kirkwood/board-nsa310.c
@@ -10,12 +10,9 @@
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
16#include <asm/mach-types.h>
17#include <asm/mach/arch.h>
18#include <mach/kirkwood.h> 14#include <mach/kirkwood.h>
15#include <linux/of.h>
19#include "common.h" 16#include "common.h"
20#include "mpp.h" 17#include "mpp.h"
21 18
@@ -79,14 +76,10 @@ static void __init nsa310_gpio_init(void)
79 76
80void __init nsa310_init(void) 77void __init nsa310_init(void)
81{ 78{
82 u32 dev, rev;
83
84 kirkwood_mpp_conf(nsa310_mpp_config); 79 kirkwood_mpp_conf(nsa310_mpp_config);
85 80
86 nsa310_gpio_init(); 81 nsa310_gpio_init();
87 82
88 kirkwood_pcie_id(&dev, &rev);
89
90 i2c_register_board_info(0, ARRAY_AND_SIZE(nsa310_i2c_info)); 83 i2c_register_board_info(0, ARRAY_AND_SIZE(nsa310_i2c_info));
91} 84}
92 85