[PATCH] ARM: mark empty gpio.h files empty

Grant Likely grant.likely at secretlab.ca
Sat Oct 29 07:06:13 EDT 2011


On Fri, Oct 28, 2011 at 10:19:02PM +0200, Linus Walleij wrote:
> It is generally a better idea to make intentionally empty files
> contain the human-readable /* empty */ comment, also it makes
> the files play nice with "make distclean".
> 
> Reported-by: Jeff Garzik <jeff at garzik.org>
> Signed-off-by: Linus Walleij <linus.walleij at linaro.org>

Applied, thanks.

g.

> ---
>  arch/arm/mach-lpc32xx/include/mach/gpio.h |    1 +
>  arch/arm/mach-tegra/include/mach/gpio.h   |    1 +
>  arch/arm/mach-u300/include/mach/gpio.h    |    1 +
>  3 files changed, 3 insertions(+), 0 deletions(-)
> 
> diff --git a/arch/arm/mach-lpc32xx/include/mach/gpio.h b/arch/arm/mach-lpc32xx/include/mach/gpio.h
> index e69de29..40a8c17 100644
> --- a/arch/arm/mach-lpc32xx/include/mach/gpio.h
> +++ b/arch/arm/mach-lpc32xx/include/mach/gpio.h
> @@ -0,0 +1 @@
> +/* empty */
> diff --git a/arch/arm/mach-tegra/include/mach/gpio.h b/arch/arm/mach-tegra/include/mach/gpio.h
> index e69de29..40a8c17 100644
> --- a/arch/arm/mach-tegra/include/mach/gpio.h
> +++ b/arch/arm/mach-tegra/include/mach/gpio.h
> @@ -0,0 +1 @@
> +/* empty */
> diff --git a/arch/arm/mach-u300/include/mach/gpio.h b/arch/arm/mach-u300/include/mach/gpio.h
> index e69de29..40a8c17 100644
> --- a/arch/arm/mach-u300/include/mach/gpio.h
> +++ b/arch/arm/mach-u300/include/mach/gpio.h
> @@ -0,0 +1 @@
> +/* empty */
> -- 
> 1.7.3.2
> 



More information about the linux-arm-kernel mailing list