summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorParav Pandit <parav@mellanox.com>2019-04-30 18:49:30 -0400
committerAlex Williamson <alex.williamson@redhat.com>2019-05-07 13:23:13 -0400
commit50732af3b65691666c32fe89808545134c1ee2a0 (patch)
treedd620d96d6daf14204ccf09d6254653abd0d07b5
parentf707d837b6c24792a724ec51117c0fdb92bd352f (diff)
vfio/mdev: Drop redundant extern for exported symbols
There is no need use 'extern' for exported functions. Acked-by: Cornelia Huck <cohuck@redhat.com> Reviewed-by: Maxim Levitsky <mlevitsk@redhat.com> Signed-off-by: Parav Pandit <parav@mellanox.com> Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
-rw-r--r--include/linux/mdev.h21
1 files changed, 10 insertions, 11 deletions
diff --git a/include/linux/mdev.h b/include/linux/mdev.h
index d7aee90e5da5..4924d8038814 100644
--- a/include/linux/mdev.h
+++ b/include/linux/mdev.h
@@ -118,21 +118,20 @@ struct mdev_driver {
118 118
119#define to_mdev_driver(drv) container_of(drv, struct mdev_driver, driver) 119#define to_mdev_driver(drv) container_of(drv, struct mdev_driver, driver)
120 120
121extern void *mdev_get_drvdata(struct mdev_device *mdev); 121void *mdev_get_drvdata(struct mdev_device *mdev);
122extern void mdev_set_drvdata(struct mdev_device *mdev, void *data); 122void mdev_set_drvdata(struct mdev_device *mdev, void *data);
123extern const guid_t *mdev_uuid(struct mdev_device *mdev); 123const guid_t *mdev_uuid(struct mdev_device *mdev);
124 124
125extern struct bus_type mdev_bus_type; 125extern struct bus_type mdev_bus_type;
126 126
127extern int mdev_register_device(struct device *dev, 127int mdev_register_device(struct device *dev, const struct mdev_parent_ops *ops);
128 const struct mdev_parent_ops *ops); 128void mdev_unregister_device(struct device *dev);
129extern void mdev_unregister_device(struct device *dev);
130 129
131extern int mdev_register_driver(struct mdev_driver *drv, struct module *owner); 130int mdev_register_driver(struct mdev_driver *drv, struct module *owner);
132extern void mdev_unregister_driver(struct mdev_driver *drv); 131void mdev_unregister_driver(struct mdev_driver *drv);
133 132
134extern struct device *mdev_parent_dev(struct mdev_device *mdev); 133struct device *mdev_parent_dev(struct mdev_device *mdev);
135extern struct device *mdev_dev(struct mdev_device *mdev); 134struct device *mdev_dev(struct mdev_device *mdev);
136extern struct mdev_device *mdev_from_dev(struct device *dev); 135struct mdev_device *mdev_from_dev(struct device *dev);
137 136
138#endif /* MDEV_H */ 137#endif /* MDEV_H */