]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
Provide dummy devm_ioport_* if !HAS_IOPORT
authorRussell King <rmk+lkml@arm.linux.org.uk>
Tue, 17 Apr 2007 07:32:26 +0000 (00:32 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Tue, 17 Apr 2007 23:36:27 +0000 (16:36 -0700)
commit93da28790c17345f4db10358dfb19b4c241d8ba3
tree47616f12e51de5c8f1ccb9f0f6fcb6b458fc0720
parent30f3deeee81cf22546da1b0b89a937bb991dea23
Provide dummy devm_ioport_* if !HAS_IOPORT

Provide an dummy implementation of devm_ioport_map() and
devm_ioport_unmap() to allow drivers (eg, pata_platform) to build for
platforms where CONFIG_NO_IOPORT is selected.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Cc: Alan Cox <alan@lxorguk.ukuu.org.uk>
Cc: Jeff Garzik <jeff@garzik.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
include/linux/io.h