linux/drivers/vme
Aaron Sierra fa54b32680 vme: change LM callback argument to void pointer
Make the location monitor callback function prototype more useful by
changing the argument from an integer to a void pointer.

All VME bridge drivers were simply passing the location monitor index
(e.g. 0-3) as the argument to these callbacks. It is much more useful
to pass back a pointer to data that the callback-registering driver
cares about.

There appear to be no in-kernel callers of vme_lm_attach (or
vme_lme_request for that matter), so this change only affects the VME
subsystem and bridge drivers.

This has been tested with Tsi148 hardware, but the CA91Cx42 changes
have only been compiled.

Signed-off-by: Aaron Sierra <asierra@xes-inc.com>
Acked-by: Martyn Welch <martyn@welchs.me.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2016-08-31 13:20:15 +02:00
..
boards vme: remove DEFINE_PCI_DEVICE_TABLE macro 2013-12-03 11:15:58 -08:00
bridges vme: change LM callback argument to void pointer 2016-08-31 13:20:15 +02:00
Kconfig vme: Convert VME core to register as a subsystem 2013-12-17 17:06:19 -08:00
Makefile
vme.c vme: change LM callback argument to void pointer 2016-08-31 13:20:15 +02:00
vme_bridge.h vme: change LM callback argument to void pointer 2016-08-31 13:20:15 +02:00