of/platform: Register of_platform_drivers with an "of:" prefix
authorGrant Likely <grant.likely@secretlab.ca>
Thu, 29 Jul 2010 23:55:50 +0000 (17:55 -0600)
committerGrant Likely <grant.likely@secretlab.ca>
Sun, 1 Aug 2010 07:44:18 +0000 (01:44 -0600)
commit7fb8f881c54beb05dd4d2c947dada1c636581d87
treef3a823a5bcb4cc6bc1ed3c2dbc5a02582c9ecb22
parent22ae782f86b726f9cea752c0f269ff6dcdf2f6e1
of/platform: Register of_platform_drivers with an "of:" prefix

Currently there are some drivers in tree which register both a
platform_driver and an of_platform_driver with the same name.  This is
a temporary situation until all the relevant of_platform_drivers are
converted to be normal platform_drivers.  Until then, this patch gives
all the of_platform_drivers an "of:" prefix to protect against bogus
matches and namespace conflicts.
drivers/of/platform.c