diff options
author | Pavan Savoy <pavan_savoy@ti.com> | 2010-08-19 14:08:51 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-08-31 15:11:20 -0700 |
commit | dbd3a8709560365ff9b1e5eca263f608877a8a89 (patch) | |
tree | 25359f4c1c050bf2419f5aa307018f7f804087ea /drivers/staging/ti-st/st.h | |
parent | 8cbf7a9e39e21d95c935e5e1a66050e769427569 (diff) | |
download | op-kernel-dev-dbd3a8709560365ff9b1e5eca263f608877a8a89.zip op-kernel-dev-dbd3a8709560365ff9b1e5eca263f608877a8a89.tar.gz |
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>
Diffstat (limited to 'drivers/staging/ti-st/st.h')
-rw-r--r-- | drivers/staging/ti-st/st.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/staging/ti-st/st.h b/drivers/staging/ti-st/st.h index 9952579..1b3060e 100644 --- a/drivers/staging/ti-st/st.h +++ b/drivers/staging/ti-st/st.h @@ -80,5 +80,4 @@ struct st_proto_s { extern long st_register(struct st_proto_s *); extern long st_unregister(enum proto_type); -extern struct platform_device *st_get_plat_device(void); #endif /* ST_H */ |