powerpc/ps3: Add sub-match id modalias support
commit46d01492b2c50791b9b66f9b9154ac8d25acaeb9
authorGeert Uytterhoeven <Geert.Uytterhoeven@sonycom.com>
Wed, 3 Dec 2008 13:52:21 +0000 (3 13:52 +0000)
committerPaul Mackerras <paulus@samba.org>
Tue, 16 Dec 2008 03:39:33 +0000 (16 14:39 +1100)
treed2eb656cca68c874891415690627591864a50313
parent62d80749addc969803a173573889f9b01d2459e1
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>
arch/powerpc/include/asm/ps3.h
arch/powerpc/platforms/ps3/device-init.c
arch/powerpc/platforms/ps3/system-bus.c
drivers/video/ps3fb.c