]> git.karo-electronics.de Git - linux-beck.git/commit
Staging: ti-st: remove st_get_plat_device
authorPavan Savoy <pavan_savoy@ti.com>
Thu, 19 Aug 2010 18:08:51 +0000 (14:08 -0400)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 31 Aug 2010 22:11:20 +0000 (15:11 -0700)
commitdbd3a8709560365ff9b1e5eca263f608877a8a89
tree25359f4c1c050bf2419f5aa307018f7f804087ea
parent8cbf7a9e39e21d95c935e5e1a66050e769427569
Staging: ti-st: remove st_get_plat_device

In order to support multiple ST platform devices, a new symbol
'st_get_plat_device' earlier needed to be exported by the arch/XX/brd-XX.c
file which intends to add the ST platform device.

On removing this dependency, now inside ST driver maintain the array of
ST platform devices that would be registered.
As of now let id=0, as and when we end up having such platforms
where mutliple ST devices can exist, id would come from
protocol drivers (BT, FM and GPS) as to on which platform device
they want to register to.

Signed-off-by: Pavan Savoy <pavan_savoy@ti.com>
Acked-by: Randy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/ti-st/st.h
drivers/staging/ti-st/st_core.c
drivers/staging/ti-st/st_core.h
drivers/staging/ti-st/st_kim.c