Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 7c8ad982 authored by Russell King's avatar Russell King Committed by Russell King
Browse files

[ARM] omap: fix a load of "warning: symbol 'xxx' was not declared. Should it be static?"

parent c0fc18c5
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -62,7 +62,7 @@ struct omap_kp {
	unsigned int debounce;
};

DECLARE_TASKLET_DISABLED(kp_tasklet, omap_kp_tasklet, 0);
static DECLARE_TASKLET_DISABLED(kp_tasklet, omap_kp_tasklet, 0);

static int *keymap;
static unsigned int *row_gpios;
+2 −2
Original line number Diff line number Diff line
@@ -172,7 +172,7 @@ struct mmc_omap_host {
	struct omap_mmc_platform_data *pdata;
};

void mmc_omap_fclk_offdelay(struct mmc_omap_slot *slot)
static void mmc_omap_fclk_offdelay(struct mmc_omap_slot *slot)
{
	unsigned long tick_ns;

@@ -182,7 +182,7 @@ void mmc_omap_fclk_offdelay(struct mmc_omap_slot *slot)
	}
}

void mmc_omap_fclk_enable(struct mmc_omap_host *host, unsigned int enable)
static void mmc_omap_fclk_enable(struct mmc_omap_host *host, unsigned int enable)
{
	unsigned long flags;

+2 −0
Original line number Diff line number Diff line
@@ -40,4 +40,6 @@ extern void omap_dispc_enable_digit_out(int enable);
extern int  omap_dispc_request_irq(void (*callback)(void *data), void *data);
extern void omap_dispc_free_irq(void);

extern const struct lcd_ctrl omap2_int_ctrl;

#endif
+2 −2
Original line number Diff line number Diff line
@@ -47,7 +47,7 @@ static unsigned long h4_panel_get_caps(struct lcd_panel *panel)
	return 0;
}

struct lcd_panel h4_panel = {
static struct lcd_panel h4_panel = {
	.name		= "h4",
	.config		= OMAP_LCDC_PANEL_TFT,

@@ -91,7 +91,7 @@ static int h4_panel_resume(struct platform_device *pdev)
	return 0;
}

struct platform_driver h4_panel_driver = {
static struct platform_driver h4_panel_driver = {
	.probe		= h4_panel_probe,
	.remove		= h4_panel_remove,
	.suspend	= h4_panel_suspend,
+2 −0
Original line number Diff line number Diff line
@@ -34,6 +34,8 @@

#include <asm/mach-types.h>

#include "lcdc.h"

#define MODULE_NAME			"lcdc"

#define OMAP_LCDC_BASE			0xfffec000
Loading