If VME bridge and vme_user modules are compiled into the kernel, then vme_user will attempt to register itself before any VME buses have been probed. This results in a kernel panic. This patch removes the staging VME devices build from the general staging Makefile and moves the build to the general VME Makefile after all VME buses are built. Signed-off-by: Aaron Sierra <asierra@xxxxxxxxxxx> --- drivers/staging/Makefile | 1 - drivers/vme/Makefile | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/Makefile b/drivers/staging/Makefile index 415772e..8082bdb 100644 --- a/drivers/staging/Makefile +++ b/drivers/staging/Makefile @@ -27,7 +27,6 @@ obj-$(CONFIG_USB_SERIAL_QUATECH2) += serqt_usb2/ obj-$(CONFIG_OCTEON_ETHERNET) += octeon/ obj-$(CONFIG_VT6655) += vt6655/ obj-$(CONFIG_VT6656) += vt6656/ -obj-$(CONFIG_VME_BUS) += vme/ obj-$(CONFIG_DX_SEP) += sep/ obj-$(CONFIG_IIO) += iio/ obj-$(CONFIG_ZRAM) += zram/ diff --git a/drivers/vme/Makefile b/drivers/vme/Makefile index d7bfcb9..7a784ab 100644 --- a/drivers/vme/Makefile +++ b/drivers/vme/Makefile @@ -5,3 +5,4 @@ obj-$(CONFIG_VME_BUS) += vme.o obj-y += bridges/ obj-y += boards/ +obj-$(CONFIG_STAGING) += ../staging/vme/ -- 1.7.9.5 _______________________________________________ devel mailing list devel@xxxxxxxxxxxxxxxxxxxxxx http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel