lkml.org 
[lkml]   [2012]   [Feb]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[PATCH] ARM: amba: don't include <asm/sizes.h>
The file uses no SZ_* symbol and some architectures miss sizes.h

Signed-off-by: Alessandro Rubini <rubini@gnudd.com>
Acked-by: Giancarlo Asnaghi <giancarlo.asnaghi@st.com>
---

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

\
 
 \ /
  Last update: 2012-02-16 17:09    [W:0.239 / U:0.400 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site