From: Jason Cooper Date: Wed, 23 Jan 2013 19:58:21 +0000 (+0000) Subject: ARM: kirkwood: nsa310: cleanup includes and unneeded code X-Git-Tag: next-20130218~18^2~64^2^2~1 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=92cb7625;p=karo-tx-linux.git ARM: kirkwood: nsa310: cleanup includes and unneeded code After removing the unneeded linux/i2c.h, linux/of.h was needed for of_machine_is_compatible(). i2c.h had included of.h. Signed-off-by: Jason Cooper --- 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 @@ #include #include -#include #include - -#include -#include #include +#include #include "common.h" #include "mpp.h" @@ -79,14 +76,10 @@ static void __init nsa310_gpio_init(void) void __init nsa310_init(void) { - u32 dev, rev; - kirkwood_mpp_conf(nsa310_mpp_config); nsa310_gpio_init(); - kirkwood_pcie_id(&dev, &rev); - i2c_register_board_info(0, ARRAY_AND_SIZE(nsa310_i2c_info)); }