mv643xx_eth: shorten shared platform driver name
authorLennert Buytenhek <buytenh@wantstofly.org>
Wed, 23 Apr 2008 23:27:44 +0000 (01:27 +0200)
committerDale Farnsworth <dale@farnsworth.org>
Tue, 29 Apr 2008 04:17:07 +0000 (21:17 -0700)
Change the MV643XX_ETH_SHARED_NAME platform driver name to something
shorter than 19 characters, so that we can register multiple (otherwise
we end up with sysfs conflicts since all instances will map to
"mv643xx_eth_shared." as there is a 20-char sysfs file name limit.)

Signed-off-by: Lennert Buytenhek <buytenh@marvell.com>
Acked-by: Nicolas Pitre <nico@marvell.com>
Signed-off-by: Dale Farnsworth <dale@farnsworth.org>
include/linux/mv643xx_eth.h

index 9f3a6032ff2e40986905c591e82c816c7f8cfcff..66dc9571922a8cbdc3c77e8365679306d533d0a8 100644 (file)
@@ -7,8 +7,8 @@
 
 #include <linux/mbus.h>
 
-#define MV643XX_ETH_SHARED_NAME                "mv643xx_eth_shared"
-#define MV643XX_ETH_NAME               "mv643xx_eth"
+#define MV643XX_ETH_SHARED_NAME                "mv643xx_eth"
+#define MV643XX_ETH_NAME               "mv643xx_eth_port"
 #define MV643XX_ETH_SHARED_REGS                0x2000
 #define MV643XX_ETH_SHARED_REGS_SIZE   0x2000
 #define MV643XX_ETH_BAR_4              0x2220