diff --git a/arch/arm/mach-omap2/board-rx51-peripherals.c b/arch/arm/mach-omap2/board-rx51-peripherals.c index ec2e4101988b921acef873860a1d16a9dcffeb52..2fd63fb98e7dca4644b866e6968146f65e81d6b5 100644 --- a/arch/arm/mach-omap2/board-rx51-peripherals.c +++ b/arch/arm/mach-omap2/board-rx51-peripherals.c @@ -1000,9 +1000,11 @@ static struct aic3x_pdata rx51_aic3x_data2 = { .gpio_reset = 60, }; +#if IS_ENABLED(CONFIG_I2C_SI4713) && IS_ENABLED(CONFIG_PLATFORM_SI4713) static struct si4713_platform_data rx51_si4713_platform_data = { .is_platform_device = true }; +#endif static struct i2c_board_info __initdata rx51_peripherals_i2c_board_info_2[] = { #if IS_ENABLED(CONFIG_I2C_SI4713) && IS_ENABLED(CONFIG_PLATFORM_SI4713)