]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit - drivers/ide/ide-scan-pci.c
drivers/ide: make ide-scan-pci.c driver explicitly non-modular
authorPaul Gortmaker <paul.gortmaker@windriver.com>
Wed, 9 Dec 2015 21:45:51 +0000 (16:45 -0500)
committerDavid S. Miller <davem@davemloft.net>
Mon, 18 Jan 2016 19:12:33 +0000 (14:12 -0500)
commite04a2bd6d8c95608cbb2c803ee2875cebfd89f52
tree8a1767fd4c4d9ad93bf610f039960f7b241fd8c6
parentb5a608fb28c84ef3e569b6929e58977f4e2ce480
drivers/ide: make ide-scan-pci.c driver explicitly non-modular

The Kconfig for this support is currently:

config IDEPCI_PCIBUS_ORDER
        bool "Probe IDE PCI devices in the PCI bus order (DEPRECATED)"

...meaning that it currently is not being built as a module by anyone.
Lets change the initcall to be the equivalent device_initcall, so that
when reading the driver code, there is no doubt it is builtin-only.

Unlike other similar changes, we leave the module.h header to be
included since this code interacts with other drivers and needs to
know what a struct module is.

Cc: "David S. Miller" <davem@davemloft.net>
Cc: linux-ide@vger.kernel.org
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/ide/ide-scan-pci.c