mtd/ps3vram: Add modalias support to the ps3vram driver
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>
This commit is contained in:
parent
cffb4add03
commit
0a2d15b928
2 changed files with 2 additions and 0 deletions
|
@ -333,6 +333,7 @@ enum ps3_match_sub_id {
|
||||||
#define PS3_MODULE_ALIAS_STOR_FLASH "ps3:8:0"
|
#define PS3_MODULE_ALIAS_STOR_FLASH "ps3:8:0"
|
||||||
#define PS3_MODULE_ALIAS_SOUND "ps3:9:0"
|
#define PS3_MODULE_ALIAS_SOUND "ps3:9:0"
|
||||||
#define PS3_MODULE_ALIAS_GPU_FB "ps3:10:1"
|
#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"
|
#define PS3_MODULE_ALIAS_LPM "ps3:11:0"
|
||||||
|
|
||||||
enum ps3_system_bus_device_type {
|
enum ps3_system_bus_device_type {
|
||||||
|
|
|
@ -774,3 +774,4 @@ module_exit(ps3vram_exit);
|
||||||
MODULE_LICENSE("GPL");
|
MODULE_LICENSE("GPL");
|
||||||
MODULE_AUTHOR("Jim Paris <jim@jtan.com>");
|
MODULE_AUTHOR("Jim Paris <jim@jtan.com>");
|
||||||
MODULE_DESCRIPTION("MTD driver for PS3 video RAM");
|
MODULE_DESCRIPTION("MTD driver for PS3 video RAM");
|
||||||
|
MODULE_ALIAS(PS3_MODULE_ALIAS_GPU_RAMDISK);
|
||||||
|
|
Loading…
Reference in a new issue