Re: [PATCH 2/2] iomap: make IOPORT/PCI mapping functions conditional
From: Arnd Bergmann
Date: Sat Jul 02 2011 - 15:46:56 EST
On Saturday 02 July 2011 17:53:26 Jonas Bonn wrote:
> Use the CONFIG_HAS_IOPORT and CONFIG_PCI options to decide whether or
> not functions for mapping these areas are provided.
>
> Signed-off-by: Jonas Bonn <jonas@xxxxxxxxxxxx>
Good catch!
Acked-by: Arnd Bergmann <arnd@xxxxxxxx>
Did you get a build error without the two options, or did you just have an
idea to save a bit of code size?
Arnd
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/