summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartyn Welch <martyn@welchs.me.uk>2016-12-04 02:45:01 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2016-12-06 13:03:22 +0300
commit8d7cc7adcec55bfeb28cc2dc58b996c95f180337 (patch)
tree2ca881636fec8b105fdbcab0ff2b45dba2d22504
parente073462966b26977b26937c5fc93b4fb24f04fef (diff)
downloadlinux-8d7cc7adcec55bfeb28cc2dc58b996c95f180337.tar.xz
VME: Remove shutdown entry from vme_driver
The vme_driver structure currently has a "shutdown" entry. This entry is never used, it lacks the correct parameter (it should be providing a pointer to the relevant vme_dev struct to even *look* usable), the VME subsystem currently doesn't provide support for shutdown functions and no in-tree drivers use it (hardly surprising, given it'd never be called). Remove the entry from vme_driver to avoid confusion. Signed-off-by: Martyn Welch <martyn.welch@collabora.co.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r--include/linux/vme.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/linux/vme.h b/include/linux/vme.h
index ea6095deba20..8c589176c2f8 100644
--- a/include/linux/vme.h
+++ b/include/linux/vme.h
@@ -113,7 +113,6 @@ struct vme_driver {
int (*match)(struct vme_dev *);
int (*probe)(struct vme_dev *);
int (*remove)(struct vme_dev *);
- void (*shutdown)(void);
struct device_driver driver;
struct list_head devices;
};