Skip to content

Commit 8806048

Browse files
committed
[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: Ralf Baechle <[email protected]>
1 parent 85ba94b commit 8806048

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

arch/mips/sibyte/swarm/platform.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@
99
#include <asm/sibyte/sb1250_genbus.h>
1010
#include <asm/sibyte/sb1250_regs.h>
1111

12+
#if defined(CONFIG_SIBYTE_SWARM) || defined(CONFIG_SIBYTE_LITTLESUR)
13+
1214
#define DRV_NAME "pata-swarm"
1315

1416
#define SWARM_IDE_SHIFT 5
@@ -79,3 +81,5 @@ static int __init swarm_pata_init(void)
7981
}
8082

8183
device_initcall(swarm_pata_init);
84+
85+
#endif /* defined(CONFIG_SIBYTE_SWARM) || defined(CONFIG_SIBYTE_LITTLESUR) */

0 commit comments

Comments
 (0)