Skip to content

Commit

Permalink
Blackfin arch: use symbolic IRQ_PF define rather than hardcoded
Browse files Browse the repository at this point in the history
Signed-off-by: Mike Frysinger <vapier.adi@gmail.com>
Signed-off-by: Bryan Wu <cooloney@kernel.org>
  • Loading branch information
Mike Frysinger authored and Bryan Wu committed Aug 5, 2008
1 parent 9080891 commit fe5aeb9
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion arch/blackfin/mach-bf537/boards/cm_bf537.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
2 changes: 1 addition & 1 deletion arch/blackfin/mach-bf537/boards/tcm_bf537.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
2 changes: 1 addition & 1 deletion arch/blackfin/mach-bf561/boards/cm_bf561.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit fe5aeb9

Please sign in to comment.