Commit 88060488 authored by Ralf Baechle's avatar Ralf Baechle

[MIPS] Sibyte: Register PIO PATA device only for Swarm and Litte Sur

Symbol name spaghetti which is too complicated to cleanup on this stage
of the release cycle breaks the build on BCM1480 platforms.
Signed-off-by: default avatarRalf Baechle <ralf@linux-mips.org>
parent 85ba94ba
...@@ -9,6 +9,8 @@ ...@@ -9,6 +9,8 @@
#include <asm/sibyte/sb1250_genbus.h> #include <asm/sibyte/sb1250_genbus.h>
#include <asm/sibyte/sb1250_regs.h> #include <asm/sibyte/sb1250_regs.h>
#if defined(CONFIG_SIBYTE_SWARM) || defined(CONFIG_SIBYTE_LITTLESUR)
#define DRV_NAME "pata-swarm" #define DRV_NAME "pata-swarm"
#define SWARM_IDE_SHIFT 5 #define SWARM_IDE_SHIFT 5
...@@ -79,3 +81,5 @@ static int __init swarm_pata_init(void) ...@@ -79,3 +81,5 @@ static int __init swarm_pata_init(void)
} }
device_initcall(swarm_pata_init); device_initcall(swarm_pata_init);
#endif /* defined(CONFIG_SIBYTE_SWARM) || defined(CONFIG_SIBYTE_LITTLESUR) */
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment