diff options
Diffstat (limited to 'drivers/macintosh/smu.c')
-rw-r--r-- | drivers/macintosh/smu.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/macintosh/smu.c b/drivers/macintosh/smu.c index f4516ca7aa3a..ff6d9bfdc3d2 100644 --- a/drivers/macintosh/smu.c +++ b/drivers/macintosh/smu.c | |||
@@ -19,7 +19,6 @@ | |||
19 | * the userland interface | 19 | * the userland interface |
20 | */ | 20 | */ |
21 | 21 | ||
22 | #include <linux/config.h> | ||
23 | #include <linux/types.h> | 22 | #include <linux/types.h> |
24 | #include <linux/kernel.h> | 23 | #include <linux/kernel.h> |
25 | #include <linux/device.h> | 24 | #include <linux/device.h> |
@@ -556,7 +555,7 @@ static int smu_late_init(void) | |||
556 | 555 | ||
557 | if (smu->db_irq != NO_IRQ) { | 556 | if (smu->db_irq != NO_IRQ) { |
558 | if (request_irq(smu->db_irq, smu_db_intr, | 557 | if (request_irq(smu->db_irq, smu_db_intr, |
559 | SA_SHIRQ, "SMU doorbell", smu) < 0) { | 558 | IRQF_SHARED, "SMU doorbell", smu) < 0) { |
560 | printk(KERN_WARNING "SMU: can't " | 559 | printk(KERN_WARNING "SMU: can't " |
561 | "request interrupt %d\n", | 560 | "request interrupt %d\n", |
562 | smu->db_irq); | 561 | smu->db_irq); |
@@ -566,7 +565,7 @@ static int smu_late_init(void) | |||
566 | 565 | ||
567 | if (smu->msg_irq != NO_IRQ) { | 566 | if (smu->msg_irq != NO_IRQ) { |
568 | if (request_irq(smu->msg_irq, smu_msg_intr, | 567 | if (request_irq(smu->msg_irq, smu_msg_intr, |
569 | SA_SHIRQ, "SMU message", smu) < 0) { | 568 | IRQF_SHARED, "SMU message", smu) < 0) { |
570 | printk(KERN_WARNING "SMU: can't " | 569 | printk(KERN_WARNING "SMU: can't " |
571 | "request interrupt %d\n", | 570 | "request interrupt %d\n", |
572 | smu->msg_irq); | 571 | smu->msg_irq); |