aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorGeert Uytterhoeven <Geert.Uytterhoeven@sonycom.com>2008-12-03 08:52:21 -0500
committerPaul Mackerras <paulus@samba.org>2008-12-15 22:39:33 -0500
commit46d01492b2c50791b9b66f9b9154ac8d25acaeb9 (patch)
treed2eb656cca68c874891415690627591864a50313 /drivers
parent62d80749addc969803a173573889f9b01d2459e1 (diff)
powerpc/ps3: Add sub-match id modalias support
commit 059e4938f8b060b10c4352e6c45739473bc73267 ("powerpc/ps3: Add a sub-match id to ps3_system_bus") forgot to update the module alias support: - Add the sub-match ids to the module aliases, so udev can distinguish between different types of sub-devices. - Rename PS3_MODULE_ALIAS_GRAPHICS to PS3_MODULE_ALIAS_GPU_FB, as ps3fb binds to the "FB" sub-device. Signed-off-by: Geert Uytterhoeven <Geert.Uytterhoeven@sonycom.com> Signed-off-by: Geoff Levand <geoffrey.levand@am.sony.com> Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/video/ps3fb.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/video/ps3fb.c b/drivers/video/ps3fb.c
index bd3e39baf7d2..38ac805db97d 100644
--- a/drivers/video/ps3fb.c
+++ b/drivers/video/ps3fb.c
@@ -1289,8 +1289,8 @@ static int ps3fb_shutdown(struct ps3_system_bus_device *dev)
1289} 1289}
1290 1290
1291static struct ps3_system_bus_driver ps3fb_driver = { 1291static struct ps3_system_bus_driver ps3fb_driver = {
1292 .match_id = PS3_MATCH_ID_GRAPHICS, 1292 .match_id = PS3_MATCH_ID_GPU,
1293 .match_sub_id = PS3_MATCH_SUB_ID_FB, 1293 .match_sub_id = PS3_MATCH_SUB_ID_GPU_FB,
1294 .core.name = DEVICE_NAME, 1294 .core.name = DEVICE_NAME,
1295 .core.owner = THIS_MODULE, 1295 .core.owner = THIS_MODULE,
1296 .probe = ps3fb_probe, 1296 .probe = ps3fb_probe,
@@ -1348,4 +1348,4 @@ module_exit(ps3fb_exit);
1348MODULE_LICENSE("GPL"); 1348MODULE_LICENSE("GPL");
1349MODULE_DESCRIPTION("PS3 GPU Frame Buffer Driver"); 1349MODULE_DESCRIPTION("PS3 GPU Frame Buffer Driver");
1350MODULE_AUTHOR("Sony Computer Entertainment Inc."); 1350MODULE_AUTHOR("Sony Computer Entertainment Inc.");
1351MODULE_ALIAS(PS3_MODULE_ALIAS_GRAPHICS); 1351MODULE_ALIAS(PS3_MODULE_ALIAS_GPU_FB);