mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Adrian Bunk <bunk@fs.tum.de>
To: Jaroslav Kysela <perex@suse.cz>
Cc: linux-kernel@vger.kernel.org, alsa-devel@alsa-project.org
Subject: [2.5 patch] ALSA rme9652: remove __exit from hammerfall_free_buffers
Date: Mon, 6 Jan 2003 15:03:26 +0100	[thread overview]
Message-ID: <20030106140326.GT6114@fs.tum.de> (raw)

Hi Jaroslav,

a mid-november ALSA update from you included a patch that added __exit 
to hammerfall_free_buffers in sound/pci/rme9652/hammerfall_mem.c. This 
patch is wrong since hammerfall_free_buffers is also called from the 
__init function alsa_hammerfall_mem_init resulting in a .exit.text 
linking error when trying to compile this driver statically into the 
kernel.

The following patch removes the __exit:

--- linux-2.5.54/sound/pci/rme9652/hammerfall_mem.c.old	2003-01-06 14:51:42.000000000 +0100
+++ linux-2.5.54/sound/pci/rme9652/hammerfall_mem.c	2003-01-06 14:52:29.000000000 +0100
@@ -178,7 +178,7 @@
 	printk ("Hammerfall memory allocator: unknown buffer address or PCI device ID");
 }
 
-static void __exit hammerfall_free_buffers (void)
+static void hammerfall_free_buffers (void)
 
 {
 	int i;


Please apply
Adrian

-- 

       "Is there not promise of rain?" Ling Tan asked suddenly out
        of the darkness. There had been need of rain for many days.
       "Only a promise," Lao Er said.
                                       Pearl S. Buck - Dragon Seed


                 reply	other threads:[~2003-01-06 13:54 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=20030106140326.GT6114@fs.tum.de \
    --to=bunk@fs.tum.de \
    --cc=alsa-devel@alsa-project.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=perex@suse.cz \
    /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

all inboxes | Powered by JetHome®