From 2b18e00116518a2462ba30ffd33bb7e08ff5b91e Mon Sep 17 00:00:00 2001 From: Florian Pose Date: Thu, 25 Feb 2016 15:23:42 +0100 Subject: [PATCH] Prevent CCAT auto-loading. --- devices/ccat/module.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/devices/ccat/module.c b/devices/ccat/module.c index 18950179..b946597c 100644 --- a/devices/ccat/module.c +++ b/devices/ccat/module.c @@ -348,7 +348,8 @@ static const struct pci_device_id pci_ids[] = { {0,}, }; -MODULE_DEVICE_TABLE(pci, pci_ids); +/* prevent auto-loading. */ +/* MODULE_DEVICE_TABLE(pci, pci_ids); */ static struct pci_driver ccat_pci_driver = { .name = KBUILD_MODNAME, @@ -408,7 +409,8 @@ static const struct of_device_id bhf_eim_ccat_ids[] = { {} }; -MODULE_DEVICE_TABLE(of, bhf_eim_ccat_ids); +/* prevent auto-loading. */ +/* MODULE_DEVICE_TABLE(of, bhf_eim_ccat_ids); */ static struct platform_driver ccat_eim_driver = { .driver = {