Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=1fcaee6ee212fc214c1327d788afa10899c22e3a
Commit:     1fcaee6ee212fc214c1327d788afa10899c22e3a
Parent:     abaeeb59c94b6efc368f5058009c1d82ce031abd
Author:     Takashi Iwai <[EMAIL PROTECTED]>
AuthorDate: Thu Aug 23 00:01:09 2007 +0200
Committer:  Jaroslav Kysela <[EMAIL PROTECTED]>
CommitDate: Tue Oct 16 15:59:24 2007 +0200

    [ALSA] hda-intel - Fix compile with gcc-3.x
    
    gcc-3.x doesn't like forward inlining:
      CC [M]  sound/pci/hda/hda_codec.o
    sound/pci/hda/hda_codec.c: In function 'snd_hda_codec_free':
    sound/pci/hda/hda_codec.c:517: sorry, unimplemented: inlining failed in 
call to 'free_hda_cache': function body not available
    sound/pci/hda/hda_codec.c:534: sorry, unimplemented: called from here
    sound/pci/hda/hda_codec.c:517: sorry, unimplemented: inlining failed in 
call to 'free_hda_cache': function body not available
    sound/pci/hda/hda_codec.c:535: sorry, unimplemented: called from here
    
    Signed-off-by: Takashi Iwai <[EMAIL PROTECTED]>
    Signed-off-by: Jaroslav Kysela <[EMAIL PROTECTED]>
---
 sound/pci/hda/hda_codec.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/sound/pci/hda/hda_codec.c b/sound/pci/hda/hda_codec.c
index b1eee9a..46d4253 100644
--- a/sound/pci/hda/hda_codec.c
+++ b/sound/pci/hda/hda_codec.c
@@ -514,7 +514,7 @@ static int read_widget_caps(struct hda_codec *codec, 
hda_nid_t fg_node)
 
 static void init_hda_cache(struct hda_cache_rec *cache,
                           unsigned int record_size);
-static inline void free_hda_cache(struct hda_cache_rec *cache);
+static void free_hda_cache(struct hda_cache_rec *cache);
 
 /*
  * codec destructor
@@ -707,7 +707,7 @@ static void __devinit init_hda_cache(struct hda_cache_rec 
*cache,
        cache->record_size = record_size;
 }
 
-static inline void free_hda_cache(struct hda_cache_rec *cache)
+static void free_hda_cache(struct hda_cache_rec *cache)
 {
        kfree(cache->buffer);
 }
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to