lkml.org 
[lkml]   [2006]   [Apr]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectRe: [PATCH] modpost: relax driver data name
On Sat, Apr 15, 2006 at 11:17:12AM -0700, Randy.Dunlap wrote:
> From: Randy Dunlap <rdunlap@xenotime.net>
>
> 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 majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2006-04-16 11:02    [W:0.063 / U:0.948 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site