From: Heiko Carstens Date: Tue, 27 Dec 2011 14:08:28 +0000 (+0100) Subject: debugfs: add missing #ifdef HAS_IOMEM X-Git-Tag: v3.3-rc1~174^2^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3b85e4ab2ec1dea29374f16205917b1b5589bc81;p=pandora-kernel.git debugfs: add missing #ifdef HAS_IOMEM "debugfs: add tools to printk 32-bit registers" adds new functions which rely on IOMEM functionality which is not present on all architectures and therefore result in compile errors: fs/debugfs/file.c: In function 'debugfs_print_regs32': fs/debugfs/file.c:561:7: error: implicit declaration of function 'readl' [-Werror=implicit-function-declaration] Add an #ifdef CONFIG_HAS_IOMEM to fix this Signed-off-by: Heiko Carstens Acked-by: Alessandro Rubini Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed