omap3: zoom: use static for pointer passing
omap_zoom_wlan_data and zoom2_set_hs_extmute are not used beyond the scope of zoom-peripherals directly, instead pointers are used. make them static instead. Fixes sparse warnings: arch/arm/mach-omap2/board-zoom-peripherals.c:193:29: warning: symbol 'omap_zoom_wlan_data' was not declared. Should it be static? arch/arm/mach-omap2/board-zoom-peripherals.c:245:6: warning: symbol 'zoom2_set_hs_extmute' was not declared. Should it be static? Signed-off-by: Nishanth Menon <nm@ti.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
This commit is contained in:
parent
bcb52693a4
commit
0ce3bb7208
@ -190,7 +190,7 @@ static struct platform_device omap_vwlan_device = {
|
|||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
struct wl12xx_platform_data omap_zoom_wlan_data __initdata = {
|
static struct wl12xx_platform_data omap_zoom_wlan_data __initdata = {
|
||||||
.irq = OMAP_GPIO_IRQ(OMAP_ZOOM_WLAN_IRQ_GPIO),
|
.irq = OMAP_GPIO_IRQ(OMAP_ZOOM_WLAN_IRQ_GPIO),
|
||||||
/* ZOOM ref clock is 26 MHz */
|
/* ZOOM ref clock is 26 MHz */
|
||||||
.board_ref_clock = 1,
|
.board_ref_clock = 1,
|
||||||
@ -242,7 +242,7 @@ static int zoom_twl_gpio_setup(struct device *dev,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* EXTMUTE callback function */
|
/* EXTMUTE callback function */
|
||||||
void zoom2_set_hs_extmute(int mute)
|
static void zoom2_set_hs_extmute(int mute)
|
||||||
{
|
{
|
||||||
gpio_set_value(ZOOM2_HEADSET_EXTMUTE_GPIO, mute);
|
gpio_set_value(ZOOM2_HEADSET_EXTMUTE_GPIO, mute);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user