diff options
author | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-07-22 14:17:35 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-07-22 14:17:35 -0400 |
commit | dc79747019b43c28d1f50aad69b8039f8d8db301 (patch) | |
tree | 4e85f1e41a6df5e5ab0866901d29d2d08efdf426 /drivers | |
parent | 0f760f13012322c81714812d852429fe23b16dcf (diff) | |
parent | 7bd02a20d5fcb69e1623c3bf2b68959fe7a77fa4 (diff) |
Merge branch 'merge' of git://git.kernel.org/pub/scm/linux/kernel/git/paulus/powerpc
* 'merge' of git://git.kernel.org/pub/scm/linux/kernel/git/paulus/powerpc:
[POWERPC] Clean up duplicate includes in drivers/macintosh/
[POWERPC] Quiet section mismatch warning on pcibios_setup
[POWERPC] init and exit markings for hvc_iseries
[POWERPC] Quiet section mismatch in hvc_rtas.c
[POWERPC] Constify of_platform_driver match_table
[POWERPC] hvcs: Make some things static and const
[POWERPC] Constify of_platform_driver name
[POWERPC] MPIC protected sources
[POWERPC] of_detach_node()'s device node argument cannot be const
[POWERPC] Fix ARCH=ppc builds
[POWERPC] mv64x60: Use mutex instead of semaphore
[POWERPC] Allow smp_call_function_single() to current cpu
[POWERPC] Allow exec faults on readable areas on classic 32-bit PowerPC
[POWERPC] Fix future firmware feature fixups function failure
[POWERPC] fix showing xmon help
[POWERPC] Make xmon_write accept a const buffer
[POWERPC] Fix misspelled "CONFIG_CHECK_CACHE_COHERENCY" Kconfig option.
[POWERPC] cell: CONFIG_SPE_BASE is a typo
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/char/hvc_iseries.c | 8 | ||||
-rw-r--r-- | drivers/char/hvc_rtas.c | 2 | ||||
-rw-r--r-- | drivers/char/hvcs.c | 8 | ||||
-rw-r--r-- | drivers/macintosh/rack-meter.c | 1 | ||||
-rw-r--r-- | drivers/pcmcia/m8xx_pcmcia.c | 2 |
5 files changed, 10 insertions, 11 deletions
diff --git a/drivers/char/hvc_iseries.c b/drivers/char/hvc_iseries.c index b37f1d5a5be6..a08f8f981c11 100644 --- a/drivers/char/hvc_iseries.c +++ b/drivers/char/hvc_iseries.c | |||
@@ -472,7 +472,7 @@ static void hvc_handle_event(struct HvLpEvent *event) | |||
472 | } | 472 | } |
473 | } | 473 | } |
474 | 474 | ||
475 | static int send_open(HvLpIndex remoteLp, void *sem) | 475 | static int __init send_open(HvLpIndex remoteLp, void *sem) |
476 | { | 476 | { |
477 | return HvCallEvent_signalLpEventFast(remoteLp, | 477 | return HvCallEvent_signalLpEventFast(remoteLp, |
478 | HvLpEvent_Type_VirtualIo, | 478 | HvLpEvent_Type_VirtualIo, |
@@ -484,7 +484,7 @@ static int send_open(HvLpIndex remoteLp, void *sem) | |||
484 | 0, 0, 0, 0); | 484 | 0, 0, 0, 0); |
485 | } | 485 | } |
486 | 486 | ||
487 | static int hvc_vio_init(void) | 487 | static int __init hvc_vio_init(void) |
488 | { | 488 | { |
489 | atomic_t wait_flag; | 489 | atomic_t wait_flag; |
490 | int rc; | 490 | int rc; |
@@ -552,14 +552,14 @@ static int hvc_vio_init(void) | |||
552 | } | 552 | } |
553 | module_init(hvc_vio_init); /* after drivers/char/hvc_console.c */ | 553 | module_init(hvc_vio_init); /* after drivers/char/hvc_console.c */ |
554 | 554 | ||
555 | static void hvc_vio_exit(void) | 555 | static void __exit hvc_vio_exit(void) |
556 | { | 556 | { |
557 | vio_unregister_driver(&hvc_vio_driver); | 557 | vio_unregister_driver(&hvc_vio_driver); |
558 | } | 558 | } |
559 | module_exit(hvc_vio_exit); | 559 | module_exit(hvc_vio_exit); |
560 | 560 | ||
561 | /* the device tree order defines our numbering */ | 561 | /* the device tree order defines our numbering */ |
562 | static int hvc_find_vtys(void) | 562 | static int __init hvc_find_vtys(void) |
563 | { | 563 | { |
564 | struct device_node *vty; | 564 | struct device_node *vty; |
565 | int num_found = 0; | 565 | int num_found = 0; |
diff --git a/drivers/char/hvc_rtas.c b/drivers/char/hvc_rtas.c index 4b97eaf18602..bb09413d5a21 100644 --- a/drivers/char/hvc_rtas.c +++ b/drivers/char/hvc_rtas.c | |||
@@ -115,7 +115,7 @@ static void __exit hvc_rtas_exit(void) | |||
115 | module_exit(hvc_rtas_exit); | 115 | module_exit(hvc_rtas_exit); |
116 | 116 | ||
117 | /* This will happen prior to module init. There is no tty at this time? */ | 117 | /* This will happen prior to module init. There is no tty at this time? */ |
118 | static int hvc_rtas_console_init(void) | 118 | static int __init hvc_rtas_console_init(void) |
119 | { | 119 | { |
120 | rtascons_put_char_token = rtas_token("put-term-char"); | 120 | rtascons_put_char_token = rtas_token("put-term-char"); |
121 | if (rtascons_put_char_token == RTAS_UNKNOWN_SERVICE) | 121 | if (rtascons_put_char_token == RTAS_UNKNOWN_SERVICE) |
diff --git a/drivers/char/hvcs.c b/drivers/char/hvcs.c index 17f96e04266f..69d8866de783 100644 --- a/drivers/char/hvcs.c +++ b/drivers/char/hvcs.c | |||
@@ -210,9 +210,9 @@ static struct ktermios hvcs_tty_termios = { | |||
210 | static int hvcs_parm_num_devs = -1; | 210 | static int hvcs_parm_num_devs = -1; |
211 | module_param(hvcs_parm_num_devs, int, 0); | 211 | module_param(hvcs_parm_num_devs, int, 0); |
212 | 212 | ||
213 | char hvcs_driver_name[] = "hvcs"; | 213 | static const char hvcs_driver_name[] = "hvcs"; |
214 | char hvcs_device_node[] = "hvcs"; | 214 | static const char hvcs_device_node[] = "hvcs"; |
215 | char hvcs_driver_string[] | 215 | static const char hvcs_driver_string[] |
216 | = "IBM hvcs (Hypervisor Virtual Console Server) Driver"; | 216 | = "IBM hvcs (Hypervisor Virtual Console Server) Driver"; |
217 | 217 | ||
218 | /* Status of partner info rescan triggered via sysfs. */ | 218 | /* Status of partner info rescan triggered via sysfs. */ |
@@ -1092,7 +1092,7 @@ static int hvcs_enable_device(struct hvcs_struct *hvcsd, uint32_t unit_address, | |||
1092 | * NOTICE: Do NOT hold either the hvcs_struct.lock or hvcs_structs_lock when | 1092 | * NOTICE: Do NOT hold either the hvcs_struct.lock or hvcs_structs_lock when |
1093 | * calling this function or you will get deadlock. | 1093 | * calling this function or you will get deadlock. |
1094 | */ | 1094 | */ |
1095 | struct hvcs_struct *hvcs_get_by_index(int index) | 1095 | static struct hvcs_struct *hvcs_get_by_index(int index) |
1096 | { | 1096 | { |
1097 | struct hvcs_struct *hvcsd = NULL; | 1097 | struct hvcs_struct *hvcsd = NULL; |
1098 | unsigned long flags; | 1098 | unsigned long flags; |
diff --git a/drivers/macintosh/rack-meter.c b/drivers/macintosh/rack-meter.c index 4177ff004753..2c21d4f25cc8 100644 --- a/drivers/macintosh/rack-meter.c +++ b/drivers/macintosh/rack-meter.c | |||
@@ -30,7 +30,6 @@ | |||
30 | #include <asm/machdep.h> | 30 | #include <asm/machdep.h> |
31 | #include <asm/pmac_feature.h> | 31 | #include <asm/pmac_feature.h> |
32 | #include <asm/dbdma.h> | 32 | #include <asm/dbdma.h> |
33 | #include <asm/dbdma.h> | ||
34 | #include <asm/macio.h> | 33 | #include <asm/macio.h> |
35 | #include <asm/keylargo.h> | 34 | #include <asm/keylargo.h> |
36 | 35 | ||
diff --git a/drivers/pcmcia/m8xx_pcmcia.c b/drivers/pcmcia/m8xx_pcmcia.c index 3c45142c40b2..b01985498460 100644 --- a/drivers/pcmcia/m8xx_pcmcia.c +++ b/drivers/pcmcia/m8xx_pcmcia.c | |||
@@ -1316,7 +1316,7 @@ static struct of_device_id m8xx_pcmcia_match[] = { | |||
1316 | MODULE_DEVICE_TABLE(of, m8xx_pcmcia_match); | 1316 | MODULE_DEVICE_TABLE(of, m8xx_pcmcia_match); |
1317 | 1317 | ||
1318 | static struct of_platform_driver m8xx_pcmcia_driver = { | 1318 | static struct of_platform_driver m8xx_pcmcia_driver = { |
1319 | .name = (char *)driver_name, | 1319 | .name = driver_name, |
1320 | .match_table = m8xx_pcmcia_match, | 1320 | .match_table = m8xx_pcmcia_match, |
1321 | .probe = m8xx_probe, | 1321 | .probe = m8xx_probe, |
1322 | .remove = m8xx_remove, | 1322 | .remove = m8xx_remove, |