From f844e030fa24adf8f2dbb8d209901b96b42d894e Mon Sep 17 00:00:00 2001 From: Marcin Juszkiewicz Date: Tue, 27 Sep 2005 15:09:05 +0000 Subject: openzaurus-pxa: update APM patch to apply correct also for TOSA --- .../apm_arrowkey.patch | 7 ++++++- packages/linux/openzaurus-pxa_2.4.18-rmk7-pxa3-embedix20031107.inc | 2 +- 2 files changed, 7 insertions(+), 2 deletions(-) (limited to 'packages') diff --git a/packages/linux/openzaurus-pxa-2.4.18-rmk7-pxa3-embedix20031107/apm_arrowkey.patch b/packages/linux/openzaurus-pxa-2.4.18-rmk7-pxa3-embedix20031107/apm_arrowkey.patch index db16eb0497..f45fb72de3 100644 --- a/packages/linux/openzaurus-pxa-2.4.18-rmk7-pxa3-embedix20031107/apm_arrowkey.patch +++ b/packages/linux/openzaurus-pxa-2.4.18-rmk7-pxa3-embedix20031107/apm_arrowkey.patch @@ -1,10 +1,15 @@ --- linux/arch/arm/mach-pxa/sharpsl_apm.c-original 2005-09-07 02:38:21.000000000 -0600 +++ linux/arch/arm/mach-pxa/sharpsl_apm.c 2005-09-08 01:11:56.000000000 -0600 -@@ -89,6 +89,7 @@ +@@ -89,6 +89,12 @@ #include #include #include ++#if defined(CONFIG_ARCH_PXA_POODLE) +#include /* blc */ ++#elif defined(CONFIG_ARCH_PXA_TOSA) ++#include ++#define NR_KEYCODES (KEYCODE(KB_ROWS-1,KB_COLS-1)+1) ++#endif #include #include #include diff --git a/packages/linux/openzaurus-pxa_2.4.18-rmk7-pxa3-embedix20031107.inc b/packages/linux/openzaurus-pxa_2.4.18-rmk7-pxa3-embedix20031107.inc index 2a2c9561ad..aa4cc9273b 100644 --- a/packages/linux/openzaurus-pxa_2.4.18-rmk7-pxa3-embedix20031107.inc +++ b/packages/linux/openzaurus-pxa_2.4.18-rmk7-pxa3-embedix20031107.inc @@ -3,7 +3,7 @@ MAINTAINER = "Michael 'Mickey' Lauer " SECTION = "kernel" LICENSE = "GPL" PV = "2.4.18-rmk7-pxa3-embedix" -PR = "r44" +PR = "r45" KV = "2.4.18" RMKV = "7" -- cgit v1.2.3