Skip to content

Commit 6984937

Browse files
committed
Merge branch 'upstream' of git://ftp.linux-mips.org/pub/scm/upstream-linus
* 'upstream' of git://ftp.linux-mips.org/pub/scm/upstream-linus: [MIPS] Sibyte: Register PIO PATA device only for Swarm and Litte Sur
2 parents 392eaef + 8806048 commit 6984937

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)