From 909ca9bd9adc3063d5ec1a7cec176e34b853ccc2 Mon Sep 17 00:00:00 2001 From: Dirk Behme Date: Mon, 30 May 2005 09:32:57 +0200 Subject: [PATCH] Remove warning arch/arm/mach-omap/mux.c: In function ap_cfg_reg': arch/arm/mach-omap/mux.c:56: warning: assignment discards qualifiers from pointer target type Signed-off-by: Dirk Behme --- arch/arm/mach-omap/mux.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/mach-omap/mux.c b/arch/arm/mach-omap/mux.c index b8284ad5653..65d9b485f4e 100644 --- a/arch/arm/mach-omap/mux.c +++ b/arch/arm/mach-omap/mux.c @@ -53,7 +53,7 @@ omap_cfg_reg(const reg_cfg_t reg_cfg) return -EINVAL; } - cfg = ®_cfg_table[reg_cfg]; + cfg = (reg_cfg_set *)®_cfg_table[reg_cfg]; /* Check the mux register in question */ if (cfg->mux_reg) { -- 2.41.1