From: Sandeep Paulraj Date: Mon, 3 Aug 2009 17:58:24 +0000 (-0400) Subject: DaVinci: DM365: Fix Compilation issue due to PINMUX entry X-Git-Url: http://drtracing.org/?a=commitdiff_plain;h=866d286953c359e7b1fc0b8d04254d144a11be68;p=deliverable%2Flinux.git DaVinci: DM365: Fix Compilation issue due to PINMUX entry The mask can hold only 8 bit values. This gave a compilation warning. This patch rectifies the warning. Signed-off-by: Sandeep Paulraj Signed-off-by: Kevin Hilman --- diff --git a/arch/arm/mach-davinci/dm365.c b/arch/arm/mach-davinci/dm365.c index aa3b0bbdda73..0a33e128f3f7 100644 --- a/arch/arm/mach-davinci/dm365.c +++ b/arch/arm/mach-davinci/dm365.c @@ -582,7 +582,8 @@ MUX_CFG(DM365, VOUT_COUTH_EN, 1, 8, 0xff, 0x55, false) MUX_CFG(DM365, VIN_CAM_WEN, 0, 14, 3, 0, false) MUX_CFG(DM365, VIN_CAM_VD, 0, 13, 1, 0, false) MUX_CFG(DM365, VIN_CAM_HD, 0, 12, 1, 0, false) -MUX_CFG(DM365, VIN_YIN_EN, 0, 0, 0xfff, 0, false) +MUX_CFG(DM365, VIN_YIN4_7_EN, 0, 0, 0xff, 0, false) +MUX_CFG(DM365, VIN_YIN0_3_EN, 0, 8, 0xf, 0, false) INT_CFG(DM365, INT_EDMA_CC, 2, 1, 1, false) INT_CFG(DM365, INT_EDMA_TC0_ERR, 3, 1, 1, false) diff --git a/arch/arm/mach-davinci/include/mach/mux.h b/arch/arm/mach-davinci/include/mach/mux.h index 368fca69197d..a676b2f47aab 100644 --- a/arch/arm/mach-davinci/include/mach/mux.h +++ b/arch/arm/mach-davinci/include/mach/mux.h @@ -280,7 +280,8 @@ enum davinci_dm365_index { DM365_VIN_CAM_WEN, DM365_VIN_CAM_VD, DM365_VIN_CAM_HD, - DM365_VIN_YIN_EN, + DM365_VIN_YIN4_7_EN, + DM365_VIN_YIN0_3_EN, /* IRQ muxing */ DM365_INT_EDMA_CC,