tifm: move common device management tasks from tifm_7xx1 to tifm_core
Some details of the device management (create, add, remove) are really belong to the tifm_core, as they are not hardware specific. Signed-off-by: Alex Dubov <oakad@yahoo.com> Signed-off-by: Pierre Ossman <drzeus@drzeus.cx>
This commit is contained in:
committed by
Pierre Ossman
parent
6113ed73e6
commit
2428a8fe22
@@ -131,7 +131,9 @@ void tifm_remove_adapter(struct tifm_adapter *fm);
|
||||
void tifm_free_adapter(struct tifm_adapter *fm);
|
||||
|
||||
void tifm_free_device(struct device *dev);
|
||||
struct tifm_dev *tifm_alloc_device(struct tifm_adapter *fm);
|
||||
struct tifm_dev *tifm_alloc_device(struct tifm_adapter *fm, unsigned int id,
|
||||
unsigned char type);
|
||||
|
||||
int tifm_register_driver(struct tifm_driver *drv);
|
||||
void tifm_unregister_driver(struct tifm_driver *drv);
|
||||
void tifm_eject(struct tifm_dev *sock);
|
||||
|
Reference in New Issue
Block a user