From: Dirk Behme Date: Mon, 30 May 2005 07:32:57 +0000 (+0200) Subject: Remove warning X-Git-Tag: v2.6.13-omap1~130 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=909ca9bd9adc3063d5ec1a7cec176e34b853ccc2;p=linux-2.6-omap-h63xx.git 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 --- 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) {