powerpc/ps3: Add a sub-match id to ps3_system_bus
Add sub match id for ps3 system bus so that two different system bus devices can be connected to a shared device. Signed-off-by: Masakazu Mokuno <mokuno@sm.sony.co.jp> Signed-off-by: Geoff Levand <geoffrey.levand@am.sony.com> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
This commit is contained in:
committed by
Benjamin Herrenschmidt
parent
6e5f153783
commit
059e4938f8
@@ -486,6 +486,7 @@ static int __init ps3_register_graphics_devices(void)
|
||||
return -ENOMEM;
|
||||
|
||||
p->dev.match_id = PS3_MATCH_ID_GRAPHICS;
|
||||
p->dev.match_sub_id = PS3_MATCH_SUB_ID_FB;
|
||||
p->dev.dev_type = PS3_DEVICE_TYPE_IOC0;
|
||||
|
||||
result = ps3_system_bus_device_register(&p->dev);
|
||||
|
Reference in New Issue
Block a user