Subject: Re: [PATCH] Disable /dev/port interface on powerpc systems

From: Michael Ellerman <[email-masked]>
Date: Fri, 08 Jun 2012 12:00:42 +1000

On Sat, 2012-03-24 at 01:23 -0700, Haren Myneni wrote:
> Ben, Here it is the updated patch based on your suggestions. Please let
> me know if it has any issues.
> 

This breaks the i386 defconfig build with:

drivers/char/mem.c:903:3: error: implicit declaration of function
'arch_has_dev_port' [-Werror=implicit-function-declaration]

I think because that file includes <asm/io.h> directly, not via
include/linux/io.h, so your stub is never seen.

cheers