* [2.6 patch] dvb/bt8xx: "extern inline" -> "static inline"
@ 2007-08-14 21:25 Adrian Bunk
2007-08-16 7:17 ` [v4l-dvb-maintainer] " Manu Abraham
0 siblings, 1 reply; 2+ messages in thread
From: Adrian Bunk @ 2007-08-14 21:25 UTC (permalink / raw)
To: v4l-dvb-maintainer; +Cc: linux-kernel
"extern inline" will have different semantics with gcc 4.3.
Signed-off-by: Adrian Bunk <bunk@kernel.org>
---
6ffbe5b19606cd8756be4d04e0902de69e447c85
diff --git a/drivers/media/dvb/bt8xx/bt878.h b/drivers/media/dvb/bt8xx/bt878.h
index f685bc1..1c8e336 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,
void bt878_stop(struct bt878 *bt);
#if defined(__powerpc__) /* big-endian */
-extern __inline__ void io_st_le32(volatile unsigned __iomem *addr, unsigned val)
+static inline void io_st_le32(volatile unsigned __iomem *addr, unsigned val)
{
__asm__ __volatile__("stwbrx %1,0,%2":"=m"(*addr):"r"(val),
"r"(addr));
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [v4l-dvb-maintainer] [2.6 patch] dvb/bt8xx: "extern inline" -> "static inline"
2007-08-14 21:25 [2.6 patch] dvb/bt8xx: "extern inline" -> "static inline" Adrian Bunk
@ 2007-08-16 7:17 ` Manu Abraham
0 siblings, 0 replies; 2+ messages in thread
From: Manu Abraham @ 2007-08-16 7:17 UTC (permalink / raw)
To: Adrian Bunk; +Cc: v4l-dvb-maintainer, linux-kernel
Adrian Bunk wrote:
> "extern inline" will have different semantics with gcc 4.3.
>
> Signed-off-by: Adrian Bunk <bunk@kernel.org>
>
> ---
> 6ffbe5b19606cd8756be4d04e0902de69e447c85
> diff --git a/drivers/media/dvb/bt8xx/bt878.h b/drivers/media/dvb/bt8xx/bt878.h
> index f685bc1..1c8e336 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,
> void bt878_stop(struct bt878 *bt);
>
> #if defined(__powerpc__) /* big-endian */
> -extern __inline__ void io_st_le32(volatile unsigned __iomem *addr, unsigned val)
> +static inline void io_st_le32(volatile unsigned __iomem *addr, unsigned val)
> {
> __asm__ __volatile__("stwbrx %1,0,%2":"=m"(*addr):"r"(val),
> "r"(addr));
>
>
Signed-off-by: Manu Abraham <manu@linuxtv.org>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2007-08-16 7:17 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-08-14 21:25 [2.6 patch] dvb/bt8xx: "extern inline" -> "static inline" Adrian Bunk
2007-08-16 7:17 ` [v4l-dvb-maintainer] " Manu Abraham
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox