[PATCH] ARM: amba: don't include <asm/sizes.h>

From: Alessandro Rubini
Date: Thu Feb 16 2012 - 11:05:55 EST


The file uses no SZ_* symbol and some architectures miss sizes.h

Signed-off-by: Alessandro Rubini <rubini@xxxxxxxxx>
Acked-by: Giancarlo Asnaghi <giancarlo.asnaghi@xxxxxx>
---

There a number of files including but not using it. This one
in particular I need under x86 so the fix is trivial.

However, I remember different feelings about sizes.h . Should it die
or should it proliferate to other archs using asm-generic/sizes.h ?


drivers/amba/bus.c | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/drivers/amba/bus.c b/drivers/amba/bus.c
index 01c2cf4..928f80f 100644
--- a/drivers/amba/bus.c
+++ b/drivers/amba/bus.c
@@ -18,7 +18,6 @@
#include <linux/amba/bus.h>

#include <asm/irq.h>
-#include <asm/sizes.h>

#define to_amba_driver(d) container_of(d, struct amba_driver, drv)

--
1.7.7.2
--
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/