Re: [PATCH] modpost: relax driver data name

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, Apr 15, 2006 at 11:17:12AM -0700, Randy.Dunlap wrote:
> From: Randy Dunlap <[email protected]>
> 
> modpost:  Relax driver data name from *_driver to *driver.
> This fixes the 26 section mismatch warnings in drivers/ide/pci.

For an allmodconfig build with CONFIG_HOTPLUG=n this killed
118 warnings out of 245 warnings in total.
Applied.

To turn off CONFIG_HOTPLUG I simply changed the Kconfig files like
this:

diff --git a/drivers/base/Kconfig b/drivers/base/Kconfig
index f0eff3d..1e25fc2 100644
--- a/drivers/base/Kconfig
+++ b/drivers/base/Kconfig
@@ -20,7 +20,6 @@ config PREVENT_FIRMWARE_BUILD
 
 config FW_LOADER
 	tristate "Userspace firmware loading support"
-	select HOTPLUG
 	---help---
 	  This option is provided for the case where no in-kernel-tree modules
 	  require userspace firmware loading support, but a module built outside

Then it became trivial to turn off CONFIG_HOTPLUG.

	Sam
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux