Blackfin arch: use symbolic IRQ_PF define rather than hardcoded

Signed-off-by: Mike Frysinger <vapier.adi@gmail.com>
Signed-off-by: Bryan Wu <cooloney@kernel.org>
This commit is contained in:
Mike Frysinger 2008-08-05 18:29:56 +08:00 committed by Bryan Wu
parent 908089118d
commit fe5aeb9302
3 changed files with 3 additions and 3 deletions

View File

@ -445,7 +445,7 @@ static struct platform_device bfin_mac_device = {
#endif #endif
#if defined(CONFIG_PATA_PLATFORM) || defined(CONFIG_PATA_PLATFORM_MODULE) #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 = { static struct pata_platform_info bfin_pata_platform_data = {
.ioport_shift = 2, .ioport_shift = 2,

View File

@ -445,7 +445,7 @@ static struct platform_device bfin_mac_device = {
#endif #endif
#if defined(CONFIG_PATA_PLATFORM) || defined(CONFIG_PATA_PLATFORM_MODULE) #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 = { static struct pata_platform_info bfin_pata_platform_data = {
.ioport_shift = 2, .ioport_shift = 2,

View File

@ -306,7 +306,7 @@ static struct platform_device bfin_sir_device = {
#endif #endif
#if defined(CONFIG_PATA_PLATFORM) || defined(CONFIG_PATA_PLATFORM_MODULE) #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 = { static struct pata_platform_info bfin_pata_platform_data = {
.ioport_shift = 2, .ioport_shift = 2,