diff options
author | Greg KH <greg@press.(none)> | 2005-06-28 01:07:56 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2005-06-28 01:07:56 -0400 |
commit | 8644d2a42bdba2d513f71c07eaf1b6f9b718b8eb (patch) | |
tree | c43b6c2fdf1b68b66906a2de69446dcec0f9af6b /drivers/char | |
parent | 1cde8a16815bd85c8137d1ea556398983c597c11 (diff) | |
parent | 99f95e5286df2f69edab8a04c7080d986ee4233b (diff) |
Merge rsync://rsync.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6
Diffstat (limited to 'drivers/char')
-rw-r--r-- | drivers/char/misc.c | 3 | ||||
-rw-r--r-- | drivers/char/pcmcia/synclink_cs.c | 9 |
2 files changed, 8 insertions, 4 deletions
diff --git a/drivers/char/misc.c b/drivers/char/misc.c index 31cf84d69026..931efd58f87a 100644 --- a/drivers/char/misc.c +++ b/drivers/char/misc.c | |||
@@ -309,9 +309,6 @@ static int __init misc_init(void) | |||
309 | #ifdef CONFIG_BVME6000 | 309 | #ifdef CONFIG_BVME6000 |
310 | rtc_DP8570A_init(); | 310 | rtc_DP8570A_init(); |
311 | #endif | 311 | #endif |
312 | #ifdef CONFIG_PMAC_PBOOK | ||
313 | pmu_device_init(); | ||
314 | #endif | ||
315 | if (register_chrdev(MISC_MAJOR,"misc",&misc_fops)) { | 312 | if (register_chrdev(MISC_MAJOR,"misc",&misc_fops)) { |
316 | printk("unable to get major %d for misc devices\n", | 313 | printk("unable to get major %d for misc devices\n", |
317 | MISC_MAJOR); | 314 | MISC_MAJOR); |
diff --git a/drivers/char/pcmcia/synclink_cs.c b/drivers/char/pcmcia/synclink_cs.c index 1c8d866a49dc..8f36b1758eb6 100644 --- a/drivers/char/pcmcia/synclink_cs.c +++ b/drivers/char/pcmcia/synclink_cs.c | |||
@@ -581,7 +581,7 @@ static dev_link_t *mgslpc_attach(void) | |||
581 | 581 | ||
582 | /* Interrupt setup */ | 582 | /* Interrupt setup */ |
583 | link->irq.Attributes = IRQ_TYPE_EXCLUSIVE; | 583 | link->irq.Attributes = IRQ_TYPE_EXCLUSIVE; |
584 | link->irq.IRQInfo1 = IRQ_INFO2_VALID | IRQ_LEVEL_ID; | 584 | link->irq.IRQInfo1 = IRQ_LEVEL_ID; |
585 | link->irq.Handler = NULL; | 585 | link->irq.Handler = NULL; |
586 | 586 | ||
587 | link->conf.Attributes = 0; | 587 | link->conf.Attributes = 0; |
@@ -3081,6 +3081,12 @@ void mgslpc_remove_device(MGSLPC_INFO *remove_info) | |||
3081 | } | 3081 | } |
3082 | } | 3082 | } |
3083 | 3083 | ||
3084 | static struct pcmcia_device_id mgslpc_ids[] = { | ||
3085 | PCMCIA_DEVICE_MANF_CARD(0x02c5, 0x0050), | ||
3086 | PCMCIA_DEVICE_NULL | ||
3087 | }; | ||
3088 | MODULE_DEVICE_TABLE(pcmcia, mgslpc_ids); | ||
3089 | |||
3084 | static struct pcmcia_driver mgslpc_driver = { | 3090 | static struct pcmcia_driver mgslpc_driver = { |
3085 | .owner = THIS_MODULE, | 3091 | .owner = THIS_MODULE, |
3086 | .drv = { | 3092 | .drv = { |
@@ -3088,6 +3094,7 @@ static struct pcmcia_driver mgslpc_driver = { | |||
3088 | }, | 3094 | }, |
3089 | .attach = mgslpc_attach, | 3095 | .attach = mgslpc_attach, |
3090 | .detach = mgslpc_detach, | 3096 | .detach = mgslpc_detach, |
3097 | .id_table = mgslpc_ids, | ||
3091 | }; | 3098 | }; |
3092 | 3099 | ||
3093 | static struct tty_operations mgslpc_ops = { | 3100 | static struct tty_operations mgslpc_ops = { |