<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">
From: Adrian Bunk &lt;bunk@stusta.de&gt;

With gcc -W:

drivers/char/hpet.c:102: warning: `inline' is not at beginning of declaration
drivers/char/hpet.c:109: warning: `inline' is not at beginning of declaration

Signed-off-by: Jesper Juhl &lt;juhl-lkml@dif.dk&gt;
Signed-off-by: Adrian Bunk &lt;bunk@stusta.de&gt;
Signed-off-by: Andrew Morton &lt;akpm@osdl.org&gt;
---

 drivers/char/hpet.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff -puN drivers/char/hpet.c~fix-unusual-placement-of-inline-keyword-in-hpet drivers/char/hpet.c
--- devel/drivers/char/hpet.c~fix-unusual-placement-of-inline-keyword-in-hpet	2005-07-25 19:53:11.000000000 -0700
+++ devel-akpm/drivers/char/hpet.c	2005-07-25 19:53:11.000000000 -0700
@@ -100,14 +100,14 @@ static struct hpets *hpets;
 #endif
 
 #ifndef readq
-static unsigned long long __inline readq(void __iomem *addr)
+static inline unsigned long long readq(void __iomem *addr)
 {
 	return readl(addr) | (((unsigned long long)readl(addr + 4)) &lt;&lt; 32LL);
 }
 #endif
 
 #ifndef writeq
-static void __inline writeq(unsigned long long v, void __iomem *addr)
+static inline void writeq(unsigned long long v, void __iomem *addr)
 {
 	writel(v &amp; 0xffffffff, addr);
 	writel(v &gt;&gt; 32, addr + 4);
_
</pre></body></html>