/[linux-patches]/genpatches-2.6/tags/2.6.20-9/4401_speakup-fix-module-build.patch
Gentoo

Contents of /genpatches-2.6/tags/2.6.20-9/4401_speakup-fix-module-build.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 927 - (show annotations) (download)
Thu Apr 26 15:33:43 2007 UTC (7 years, 4 months ago) by phreak
File size: 681 byte(s)
2.6.20-9 release
1
2 From: Daniel Drake <dsd@gentoo.org>
3
4 Index: linux-2.6.20-gentoo/drivers/char/speakup/speakup.c
5 ===================================================================
6 --- linux-2.6.20-gentoo.orig/drivers/char/speakup/speakup.c
7 +++ linux-2.6.20-gentoo/drivers/char/speakup/speakup.c
8 @@ -2027,6 +2027,7 @@ struct st_proc_var spk_proc_vars[] = {
9
10 #endif // CONFIG_PROC_FS
11
12 +#ifndef MODULE
13 void __init speakup_init(struct vc_data *vc)
14 {
15 struct st_spk_t *first_console =
16 @@ -2034,6 +2035,7 @@ void __init speakup_init(struct vc_data
17 memset( first_console, 0, sizeof(struct st_spk_t));
18 speakup_open(vc, first_console);
19 }
20 +#endif
21
22 void speakup_allocate(struct vc_data *vc)
23 {

  ViewVC Help
Powered by ViewVC 1.1.20