Commit afc11e6e authored by Sascha Hauer's avatar Sascha Hauer

ARM i.MX31 mx31ads: remove unnecessary CONFIG_I2C ifdefs

Signed-off-by: default avatarSascha Hauer <s.hauer@pengutronix.de>
parent 070ed733
...@@ -476,7 +476,6 @@ static struct wm8350_platform_data __initdata mx31_wm8350_pdata = { ...@@ -476,7 +476,6 @@ static struct wm8350_platform_data __initdata mx31_wm8350_pdata = {
}; };
#endif #endif
#if defined(CONFIG_I2C_IMX) || defined(CONFIG_I2C_IMX_MODULE)
static struct i2c_board_info __initdata mx31ads_i2c1_devices[] = { static struct i2c_board_info __initdata mx31ads_i2c1_devices[] = {
#ifdef CONFIG_MACH_MX31ADS_WM1133_EV1 #ifdef CONFIG_MACH_MX31ADS_WM1133_EV1
{ {
...@@ -497,11 +496,6 @@ static void mxc_init_i2c(void) ...@@ -497,11 +496,6 @@ static void mxc_init_i2c(void)
imx31_add_imx_i2c1(NULL); imx31_add_imx_i2c1(NULL);
} }
#else
static void mxc_init_i2c(void)
{
}
#endif
static unsigned int ssi_pins[] = { static unsigned int ssi_pins[] = {
MX31_PIN_SFS5__SFS5, MX31_PIN_SFS5__SFS5,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment