]> err.no Git - linux-2.6/commitdiff
Blackfin arch: use symbolic IRQ_PF define rather than hardcoded
authorMike Frysinger <vapier.adi@gmail.com>
Tue, 5 Aug 2008 10:29:56 +0000 (18:29 +0800)
committerBryan Wu <cooloney@kernel.org>
Tue, 5 Aug 2008 10:29:56 +0000 (18:29 +0800)
Signed-off-by: Mike Frysinger <vapier.adi@gmail.com>
Signed-off-by: Bryan Wu <cooloney@kernel.org>
arch/blackfin/mach-bf537/boards/cm_bf537.c
arch/blackfin/mach-bf537/boards/tcm_bf537.c
arch/blackfin/mach-bf561/boards/cm_bf561.c

index fa6064f6d57517f5d940c26b04c6ade11bbb2ba2..dde14720b0ea5d8f4dc4a6a3c81472a997d1e637 100644 (file)
@@ -445,7 +445,7 @@ static struct platform_device bfin_mac_device = {
 #endif
 
 #if defined(CONFIG_PATA_PLATFORM) || defined(CONFIG_PATA_PLATFORM_MODULE)
-#define PATA_INT       64
+#define PATA_INT       IRQ_PF14
 
 static struct pata_platform_info bfin_pata_platform_data = {
        .ioport_shift = 2,
index 196e5775a6ae83b4542d2242aaf5a06016c7af72..d5ff705a5129a799c825f2802d2433676615f8a5 100644 (file)
@@ -445,7 +445,7 @@ static struct platform_device bfin_mac_device = {
 #endif
 
 #if defined(CONFIG_PATA_PLATFORM) || defined(CONFIG_PATA_PLATFORM_MODULE)
-#define PATA_INT       64
+#define PATA_INT       IRQ_PF14
 
 static struct pata_platform_info bfin_pata_platform_data = {
        .ioport_shift = 2,
index 1309ec15b3cf643d49849e49679292db312ce0cf..8f40990eea2f217bccbae00d523e0a049da208dc 100644 (file)
@@ -306,7 +306,7 @@ static struct platform_device bfin_sir_device = {
 #endif
 
 #if defined(CONFIG_PATA_PLATFORM) || defined(CONFIG_PATA_PLATFORM_MODULE)
-#define PATA_INT       119
+#define PATA_INT       IRQ_PF46
 
 static struct pata_platform_info bfin_pata_platform_data = {
        .ioport_shift = 2,