From 06fffa84691cf39b55610f3ca13985025eeee977 Mon Sep 17 00:00:00 2001 From: Maximilian Attems Date: Thu, 27 Mar 2008 20:12:35 +0000 Subject: [PATCH] input: Add 4 additional exports for modular speakup and braille support. add the patch by Samuel Thibault svn path=/dists/trunk/linux-2.6/; revision=10980 --- debian/changelog | 1 + .../features/all/export-input-braille.patch | 49 +++++++++++++++++++ debian/patches/series/1~experimental.1 | 1 + 3 files changed, 51 insertions(+) create mode 100644 debian/patches/features/all/export-input-braille.patch diff --git a/debian/changelog b/debian/changelog index 1998dae76..fc1eab250 100644 --- a/debian/changelog +++ b/debian/changelog @@ -35,6 +35,7 @@ linux-2.6 (2.6.25~rc7-1~experimental.1) UNRELEASED; urgency=low * topconfig: Centralize old IEEE80211 stack options. (closes: #470558) * control.source.in: Newer standard version without changes. * copyright: adapt to latest lintian recommendation. + * input: Add 4 additional exports for modular speakup and braille support. [ Martin Michlmayr ] * [arm/armel] Add a kernel for Orion based devices, such as the QNAP diff --git a/debian/patches/features/all/export-input-braille.patch b/debian/patches/features/all/export-input-braille.patch new file mode 100644 index 000000000..7ff2c4c41 --- /dev/null +++ b/debian/patches/features/all/export-input-braille.patch @@ -0,0 +1,49 @@ +From: Samuel Thibault +Date: Thu, 27 Mar 2008 17:57:07 +0100 +Subject: modular braille + speakup support + +- Vanilla 2.6.24 has keyboard/VT notifier support +- both braille module and speakup need additional 4 exports to work + + +diff -puN drivers/char/consolemap.c~basic-braille-screen-reader-support drivers/char/consolemap.c +--- a/drivers/char/consolemap.c~basic-braille-screen-reader-support ++++ a/drivers/char/consolemap.c +@@ -277,6 +277,7 @@ u16 inverse_translate(struct vc_data *co + return p->inverse_translations[m][glyph]; + } + } ++EXPORT_SYMBOL_GPL(inverse_translate); + + static void update_user_maps(void) + { +diff -puN drivers/char/keyboard.c~basic-braille-screen-reader-support drivers/char/keyboard.c +--- a/drivers/char/keyboard.c~basic-braille-screen-reader-support ++++ a/drivers/char/keyboard.c +@@ -109,6 +109,7 @@ const int max_vals[] = { + const int NR_TYPES = ARRAY_SIZE(max_vals); + + struct kbd_struct kbd_table[MAX_NR_CONSOLES]; ++EXPORT_SYMBOL_GPL(kbd_table); + static struct kbd_struct *kbd = kbd_table; + + struct vt_spawn_console vt_spawn_con = { +@@ -259,6 +260,7 @@ void kd_mksound(unsigned int hz, unsigne + } else + kd_nosound(0); + } ++EXPORT_SYMBOL_GPL(kd_mksound); + + /* + * Setting the keyboard rate. +diff -puN drivers/char/vt.c~basic-braille-screen-reader-support drivers/char/vt.c +--- a/drivers/char/vt.c~basic-braille-screen-reader-support ++++ a/drivers/char/vt.c +@@ -4003,6 +4003,7 @@ u16 screen_glyph(struct vc_data *vc, int + c |= 0x100; + return c; + } ++EXPORT_SYMBOL_GPL(screen_glyph); + + /* used by vcs - note the word offset */ + unsigned short *screen_pos(struct vc_data *vc, int w_offset, int viewed) diff --git a/debian/patches/series/1~experimental.1 b/debian/patches/series/1~experimental.1 index de65b6342..bc6107552 100644 --- a/debian/patches/series/1~experimental.1 +++ b/debian/patches/series/1~experimental.1 @@ -11,6 +11,7 @@ + debian/dfsg/drivers-net-bnx2-request_firmware-1.patch + features/all/export-gfs2-locking-symbols.patch + features/all/export-unionfs-symbols.patch ++ features/all/export-input-braille.patch #+ bugfix/powerpc/mv643xx-hotplug-support.patch + bugfix/powerpc/oldworld-boot-fix.patch