My current version:
From 97f115834b5ebef4f04e0f18aaa10f78f43733a0 Mon Sep 17 00:00:00 2001
From: Al Viro <viro@xxxxxxxxxxxxxxxxxx>
Date: Sat, 10 Feb 2007 23:41:09 -0500
Subject: [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
Mark targets that have no ioport_map() and friends, protect the ioport-related
Parts of lib/devres.o with corresponding ifdef (BTW, we need it in driver
dependencies in quite a few of cases, so that symbol was needed anyway).
Signed-off-by: Al Viro <viro@xxxxxxxxxxxxxxxxxx>