diff options
author | Alex Dubov <oakad@yahoo.com> | 2007-04-12 02:59:18 -0400 |
---|---|---|
committer | Pierre Ossman <drzeus@drzeus.cx> | 2007-05-01 07:04:13 -0400 |
commit | 2428a8fe2261e901e058d9ea8b6ed7e1b4268b79 (patch) | |
tree | 8ef8c59c65ad192434abad416f53918198e6a1ec /include/linux/tifm.h | |
parent | 6113ed73e61a13db9da48831e1b35788b7f837cc (diff) |
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>
Diffstat (limited to 'include/linux/tifm.h')
-rw-r--r-- | include/linux/tifm.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/linux/tifm.h b/include/linux/tifm.h index a7bd654e2ee5..82da028d8c07 100644 --- a/include/linux/tifm.h +++ b/include/linux/tifm.h | |||
@@ -131,7 +131,9 @@ void tifm_remove_adapter(struct tifm_adapter *fm); | |||
131 | void tifm_free_adapter(struct tifm_adapter *fm); | 131 | void tifm_free_adapter(struct tifm_adapter *fm); |
132 | 132 | ||
133 | void tifm_free_device(struct device *dev); | 133 | void tifm_free_device(struct device *dev); |
134 | struct tifm_dev *tifm_alloc_device(struct tifm_adapter *fm); | 134 | struct tifm_dev *tifm_alloc_device(struct tifm_adapter *fm, unsigned int id, |
135 | unsigned char type); | ||
136 | |||
135 | int tifm_register_driver(struct tifm_driver *drv); | 137 | int tifm_register_driver(struct tifm_driver *drv); |
136 | void tifm_unregister_driver(struct tifm_driver *drv); | 138 | void tifm_unregister_driver(struct tifm_driver *drv); |
137 | void tifm_eject(struct tifm_dev *sock); | 139 | void tifm_eject(struct tifm_dev *sock); |