openzaurus-pxa: update APM patch to apply correct also for TOSA
authorMarcin Juszkiewicz <hrw@openembedded.org>
Tue, 27 Sep 2005 15:09:05 +0000 (15:09 +0000)
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>
Tue, 27 Sep 2005 15:09:05 +0000 (15:09 +0000)
packages/linux/openzaurus-pxa-2.4.18-rmk7-pxa3-embedix20031107/apm_arrowkey.patch
packages/linux/openzaurus-pxa_2.4.18-rmk7-pxa3-embedix20031107.inc

index db16eb0..f45fb72 100644 (file)
@@ -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 <linux/ioctl.h>
  #include <asm/sharp_apm.h>
  #include <asm/sharp_char.h>
++#if defined(CONFIG_ARCH_PXA_POODLE)
 +#include <asm-arm/arch-pxa/keyboard_poodle.h> /* blc */
++#elif defined(CONFIG_ARCH_PXA_TOSA)
++#include <asm-arm/arch-pxa/keyboard_tosa.h>
++#define       NR_KEYCODES     (KEYCODE(KB_ROWS-1,KB_COLS-1)+1)
++#endif
  #include <linux/delay.h>
  #include <asm/arch/ads7846_ts.h>
  #include <linux/apm_bios.h>
index 2a2c956..aa4cc92 100644 (file)
@@ -3,7 +3,7 @@ MAINTAINER = "Michael 'Mickey' Lauer <mickey@Vanille.de>"
 SECTION = "kernel"
 LICENSE = "GPL"
 PV = "2.4.18-rmk7-pxa3-embedix"
-PR = "r44"
+PR = "r45"
 
 KV = "2.4.18"
 RMKV = "7"