Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Martyn Welch and committed by
Greg Kroah-Hartman
8d7cc7ad e0734629

-1
-1
include/linux/vme.h
··· 113 113 int (*match)(struct vme_dev *); 114 114 int (*probe)(struct vme_dev *); 115 115 int (*remove)(struct vme_dev *); 116 - void (*shutdown)(void); 117 116 struct device_driver driver; 118 117 struct list_head devices; 119 118 };