]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
mtd/ps3vram: Add modalias support to the ps3vram driver
authorGeert Uytterhoeven <Geert.Uytterhoeven@sonycom.com>
Tue, 6 Jan 2009 11:32:03 +0000 (11:32 +0000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Thu, 8 Jan 2009 05:25:14 +0000 (16:25 +1100)
Update ps3vram driver to use the new ps3 three id modalias support.

Signed-off-by: Geert Uytterhoeven <Geert.Uytterhoeven@sonycom.com>
Signed-off-by: Geoff Levand <geoffrey.levand@am.sony.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/include/asm/ps3.h
drivers/mtd/devices/ps3vram.c

index 66b650532adff2301a274e9cd7720bf9cafd494c..eead5c67197abb3478d4a3e5dd25815949e9e488 100644 (file)
@@ -333,6 +333,7 @@ enum ps3_match_sub_id {
 #define PS3_MODULE_ALIAS_STOR_FLASH    "ps3:8:0"
 #define PS3_MODULE_ALIAS_SOUND         "ps3:9:0"
 #define PS3_MODULE_ALIAS_GPU_FB                "ps3:10:1"
+#define PS3_MODULE_ALIAS_GPU_RAMDISK   "ps3:10:2"
 #define PS3_MODULE_ALIAS_LPM           "ps3:11:0"
 
 enum ps3_system_bus_device_type {
index 26a4b57662f646e726d2bd9b9da5196addd90684..22f381fa78448e54dc1848b5c30f9d1aa0d9cee8 100644 (file)
@@ -774,3 +774,4 @@ module_exit(ps3vram_exit);
 MODULE_LICENSE("GPL");
 MODULE_AUTHOR("Jim Paris <jim@jtan.com>");
 MODULE_DESCRIPTION("MTD driver for PS3 video RAM");
+MODULE_ALIAS(PS3_MODULE_ALIAS_GPU_RAMDISK);