]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - arch/arm/mach-ixp2000/ixdp2x01.c
Merge branch 'for-rmk' of git://pasiphae.extern.pengutronix.de/git/imx/linux-2.6.git
[linux-2.6-omap-h63xx.git] / arch / arm / mach-ixp2000 / ixdp2x01.c
index 3084a5fa751cc89313e3af378ab856d4a9a54878..4a12327a09a3a5052caf71e3531ae1c4ba22fea6 100644 (file)
 #include <linux/serial_core.h>
 #include <linux/platform_device.h>
 #include <linux/serial_8250.h>
+#include <linux/io.h>
 
-#include <asm/io.h>
 #include <asm/irq.h>
 #include <asm/pgtable.h>
 #include <asm/page.h>
 #include <asm/system.h>
-#include <asm/hardware.h>
+#include <mach/hardware.h>
 #include <asm/mach-types.h>
 
 #include <asm/mach/pci.h>
@@ -79,10 +79,8 @@ static void ixdp2x01_irq_handler(unsigned int irq, struct irq_desc *desc)
 
        for (i = 0; i < IXP2000_BOARD_IRQS; i++) {
                if (ex_interrupt & (1 << i)) {
-                       struct irq_desc *cpld_desc;
                        int cpld_irq = IXP2000_BOARD_IRQ(0) + i;
-                       cpld_desc = irq_desc + cpld_irq;
-                       desc_handle_irq(cpld_irq, cpld_desc);
+                       generic_handle_irq(cpld_irq);
                }
        }
 
@@ -276,7 +274,7 @@ static int __init ixdp2x01_pci_map_irq(struct pci_dev *dev, u8 slot, u8 pin)
        /* Device is located after first MB bridge */
        case 0x0008:
                if (tmp_bus == dev->bus) {
-                       /* Device is located directy after first MB bridge */
+                       /* Device is located directly after first MB bridge */
                        switch (devpin) {
                        case DEVPIN(1, 1):      /* Onboard 82546 ch 0 */
                                if (machine_is_ixdp2401())
@@ -299,7 +297,7 @@ static int __init ixdp2x01_pci_map_irq(struct pci_dev *dev, u8 slot, u8 pin)
                break;
        case 0x0010:
                if (tmp_bus == dev->bus) {
-                       /* Device is located directy after second MB bridge */
+                       /* Device is located directly after second MB bridge */
                        /* Secondary bus of second bridge */
                        switch (devpin) {
                        case DEVPIN(0, 1):      /* DB#0 */
@@ -348,7 +346,7 @@ int __init ixdp2x01_pci_init(void)
 subsys_initcall(ixdp2x01_pci_init);
 
 /*************************************************************************
- * IXDP2x01 Machine Intialization
+ * IXDP2x01 Machine Initialization
  *************************************************************************/
 static struct flash_platform_data ixdp2x01_flash_platform_data = {
        .map_name       = "cfi_probe",