diff options
author | Adrian Bunk <bunk@kernel.org> | 2007-08-15 09:43:08 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2007-10-09 21:05:05 -0400 |
commit | fbd8af07063f7379e71654013e7915315cd869f8 (patch) | |
tree | 4e7a2ab1ef94c8d29ef19c49b04849cbfa97bdef | |
parent | 6b1dde90de7f612805fbe8212a39264d7b868efc (diff) |
V4L/DVB (6009): Bt8xx: "extern inline" -> "static inline"
"extern inline" will have different semantics with gcc 4.3.
Signed-off-by: Adrian Bunk <bunk@kernel.org>
Signed-off-by: Manu Abraham <manu@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
-rw-r--r-- | drivers/media/dvb/bt8xx/bt878.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/dvb/bt8xx/bt878.h b/drivers/media/dvb/bt8xx/bt878.h index f685bc129609..1c8e3366000f 100644 --- a/drivers/media/dvb/bt8xx/bt878.h +++ b/drivers/media/dvb/bt8xx/bt878.h | |||
@@ -149,7 +149,7 @@ void bt878_start(struct bt878 *bt, u32 controlreg, u32 op_sync_orin, | |||
149 | void bt878_stop(struct bt878 *bt); | 149 | void bt878_stop(struct bt878 *bt); |
150 | 150 | ||
151 | #if defined(__powerpc__) /* big-endian */ | 151 | #if defined(__powerpc__) /* big-endian */ |
152 | extern __inline__ void io_st_le32(volatile unsigned __iomem *addr, unsigned val) | 152 | static inline void io_st_le32(volatile unsigned __iomem *addr, unsigned val) |
153 | { | 153 | { |
154 | __asm__ __volatile__("stwbrx %1,0,%2":"=m"(*addr):"r"(val), | 154 | __asm__ __volatile__("stwbrx %1,0,%2":"=m"(*addr):"r"(val), |
155 | "r"(addr)); | 155 | "r"(addr)); |