public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Manu Abraham <abraham.manu@gmail.com>
To: Adrian Bunk <bunk@kernel.org>
Cc: v4l-dvb-maintainer@linuxtv.org, linux-kernel@vger.kernel.org
Subject: Re: [v4l-dvb-maintainer] [2.6 patch] dvb/bt8xx: "extern inline" -> "static inline"
Date: Thu, 16 Aug 2007 11:17:23 +0400	[thread overview]
Message-ID: <46C3FA03.9060304@gmail.com> (raw)
In-Reply-To: <20070814212530.GS18945@stusta.de>

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>


      reply	other threads:[~2007-08-16  7:17 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-08-14 21:25 [2.6 patch] dvb/bt8xx: "extern inline" -> "static inline" Adrian Bunk
2007-08-16  7:17 ` Manu Abraham [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=46C3FA03.9060304@gmail.com \
    --to=abraham.manu@gmail.com \
    --cc=bunk@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=v4l-dvb-maintainer@linuxtv.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox