aboutsummaryrefslogtreecommitdiff
path: root/hw/arm/palm.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/arm/palm.c')
-rw-r--r--hw/arm/palm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/arm/palm.c b/hw/arm/palm.c
index 68e11dd1ec..1457f10c83 100644
--- a/hw/arm/palm.c
+++ b/hw/arm/palm.c
@@ -115,7 +115,7 @@ static struct {
static void palmte_button_event(void *opaque, int keycode)
{
- struct omap_mpu_state_s *cpu = (struct omap_mpu_state_s *) opaque;
+ struct omap_mpu_state_s *cpu = opaque;
if (palmte_keymap[keycode & 0x7f].row != -1)
omap_mpuio_key(cpu->mpuio,