Skip to contentSkip to conversation

msm: Remove broken register definition from trout

PATCH New David Brown 1 participant 2 messages Jan 27, 2011

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/2 msm: Remove broken register definition from trout

Missed a register change with the clock cleanup on the MSM7x01 targets.

Change-Id Ic42234b67f6c15760d74f9efca2932cc739931e4
---
 arch/arm/mach-msm/io.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
arch/arm/mach-msm/io.c +0 -1
index d8d9be5..cec6ed1 100644
@@ -42,7 +42,6 @@
 static struct map_desc msm_io_desc[] __initdata = {
 	MSM_DEVICE(VIC),
 	MSM_CHIP_DEVICE(CSR, MSM7X00),
-	MSM_DEVICE(GPT),
 	MSM_DEVICE(DMOV),
 	MSM_DEVICE(GPIO1),
 	MSM_DEVICE(GPIO2),
Signature · 2 lines
Sent by an employee of the Qualcomm Innovation Center, Inc.
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum.
#1 lore raw

PATCH 2/2 msm: Warning fix in trout gpio board file

arch/arm/mach-msm/board-trout-gpio.c: In function 'trout_gpio_to_irq':
arch/arm/mach-msm/board-trout-gpio.c:77: error: unused variable 'msm_gpio'

Change-Id I21177f74f156b3fe56dd39dcd524998229e27ff9
---
 arch/arm/mach-msm/board-trout-gpio.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)
arch/arm/mach-msm/board-trout-gpio.c +0 -2
index a604ec1..31117a4 100644
@@ -74,8 +74,6 @@ static int msm_gpiolib_direction_output(struct gpio_chip *chip,
 
 static int trout_gpio_to_irq(struct gpio_chip *chip, unsigned offset)
 {
-	struct msm_gpio_chip *msm_gpio = to_msm_gpio_chip(chip);
-
 	return TROUT_GPIO_TO_INT(offset + chip->base);
 }
 
Signature · 2 lines
Sent by an employee of the Qualcomm Innovation Center, Inc.
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum.