[PATCH] sort the devres mess out

* Split the implementation-agnostic stuff in separate files.
* Make sure that targets using non-default request_irq() pull
  kernel/irq/devres.o
* Introduce new symbols (HAS_IOPORT and HAS_IOMEM) defaulting to positive;
  allow architectures to turn them off (we needed these symbols anyway for
  dependencies of quite a few drivers).
* protect the ioport-related parts of lib/devres.o with CONFIG_HAS_IOPORT.

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
Al Viro
2007-02-11 15:41:31 +00:00
committad av Linus Torvalds
förälder 2835fdfa4a
incheckning 5ea8176994
21 ändrade filer med 442 tillägg och 397 borttagningar

Visa fil

@@ -28,6 +28,9 @@ config GENERIC_IRQ_PROBE
bool
default y
config NO_IOPORT
def_bool y
source "init/Kconfig"