From: Sachin Kamat Date: Thu, 20 Sep 2012 23:04:45 +0000 (+0900) Subject: ARM: SAMSUNG: Fix HDMI related warnings X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=a8321393309ec73265f6fc982c088ff4d393e3c7;p=GitHub%2Fexynos8895%2Fandroid_kernel_samsung_universal8895.git ARM: SAMSUNG: Fix HDMI related warnings Silences the following warnings: arch/arm/plat-samsung/devs.c:765:31: warning: symbol 's5p_hdmi_def_platdata' was not declared. Should it be static? arch/arm/plat-samsung/devs.c:767:13: warning: symbol 's5p_hdmi_set_platdata' was not declared. Should it be static? Signed-off-by: Sachin Kamat Signed-off-by: Kukjin Kim --- diff --git a/arch/arm/plat-samsung/devs.c b/arch/arm/plat-samsung/devs.c index fc49f3dabd76..03af0420e20f 100644 --- a/arch/arm/plat-samsung/devs.c +++ b/arch/arm/plat-samsung/devs.c @@ -52,6 +52,7 @@ #include #include #include +#include #include #include #include @@ -763,7 +764,7 @@ void __init s5p_i2c_hdmiphy_set_platdata(struct s3c2410_platform_i2c *pd) &s5p_device_i2c_hdmiphy); } -struct s5p_hdmi_platform_data s5p_hdmi_def_platdata; +static struct s5p_hdmi_platform_data s5p_hdmi_def_platdata; void __init s5p_hdmi_set_platdata(struct i2c_board_info *hdmiphy_info, struct i2c_board_info *mhl_info, int mhl_bus)