[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <200805032304.58709.arnd@arndb.de>
Date: Sat, 3 May 2008 23:04:57 +0200
From: Arnd Bergmann <arnd@...db.de>
To: monstr@...nam.cz
Cc: paulus@...ba.org, linux-kernel@...r.kernel.org,
linux-arch@...r.kernel.org, Michal Simek <monstr@...str.eu>
Subject: Re: [PATCH 1/2] OF: Fix coding style violation in of_device.c and of_platform.c
On Saturday 03 May 2008, monstr@...nam.cz wrote:
>
> #include <asm/errno.h>
> +
> +#ifdef CONFIG_PPC_PSERIES
> #include <asm/dcr.h>
> +#endif
>
The patch looks basically good, but we normally try to not have an #include
inside of #ifdef. If the file builds without this #include, maybe you should
better leave it out entirely? Same for the ppc-pci.h in the other file.
Arnd <><
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists