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:
parent
908089118d
commit
fe5aeb9302
|
@ -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,
|
||||||
|
|
|
@ -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,
|
||||||
|
|
|
@ -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,
|
||||||
|
|
Loading…
Reference in New Issue