summaryrefslogtreecommitdiff
path: root/drivers/ide/ide-scan-pci.c
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2016-01-18 12:28:57 -0800
committerLinus Torvalds <torvalds@linux-foundation.org>2016-01-18 12:28:57 -0800
commit7f36f1b2a8c4f55f8226ed6c8bb4ed6de11c4015 (patch)
tree3d6f138321ce8c1fbf227498d9e4dc9181caafa0 /drivers/ide/ide-scan-pci.c
parentc38dec71664dadb15094151f53886abb69f8f9e6 (diff)
parente04a2bd6d8c95608cbb2c803ee2875cebfd89f52 (diff)
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/ide
Pull IDE updates from David Miller: "Just a few small changes this merge window, marking ops const, printf string type fixes, etc" * git://git.kernel.org/pub/scm/linux/kernel/git/davem/ide: drivers/ide: make ide-scan-pci.c driver explicitly non-modular ide: constify ide_dma_ops structures ide: silence some underflow warnings
Diffstat (limited to 'drivers/ide/ide-scan-pci.c')
-rw-r--r--drivers/ide/ide-scan-pci.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/ide/ide-scan-pci.c b/drivers/ide/ide-scan-pci.c
index c3da53e7bb2b..86aa88aeb3a6 100644
--- a/drivers/ide/ide-scan-pci.c
+++ b/drivers/ide/ide-scan-pci.c
@@ -107,5 +107,4 @@ static int __init ide_scan_pcibus(void)
return 0;
}
-
-module_init(ide_scan_pcibus);
+device_initcall(ide_scan_pcibus);