diff options
author | Takashi Iwai <tiwai@suse.de> | 2008-02-22 12:35:56 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2008-02-22 17:20:08 -0500 |
commit | 92eed66d5e612216369b27330ac43f6f094d0130 (patch) | |
tree | bb9e4422089a0ac61ee11a0c3aa182a5af653d57 /sound/pci/rme9652 | |
parent | f007dc045a93aeb7e03fe59b408bc65baa86d991 (diff) |
[ALSA] hdsp - Fix section mismatch
Removed invalid __devinit from hdsp_request_fw_loader() and
snd_hwdep_create_hwdep() that aren't always init functions.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'sound/pci/rme9652')
-rw-r--r-- | sound/pci/rme9652/hdsp.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/sound/pci/rme9652/hdsp.c b/sound/pci/rme9652/hdsp.c index c2bd4384316a..1be84f22d0de 100644 --- a/sound/pci/rme9652/hdsp.c +++ b/sound/pci/rme9652/hdsp.c | |||
@@ -745,7 +745,7 @@ static int hdsp_get_iobox_version (struct hdsp *hdsp) | |||
745 | 745 | ||
746 | 746 | ||
747 | #ifdef HDSP_FW_LOADER | 747 | #ifdef HDSP_FW_LOADER |
748 | static int __devinit hdsp_request_fw_loader(struct hdsp *hdsp); | 748 | static int hdsp_request_fw_loader(struct hdsp *hdsp); |
749 | #endif | 749 | #endif |
750 | 750 | ||
751 | static int hdsp_check_for_firmware (struct hdsp *hdsp, int load_on_demand) | 751 | static int hdsp_check_for_firmware (struct hdsp *hdsp, int load_on_demand) |
@@ -4688,8 +4688,7 @@ static struct snd_pcm_ops snd_hdsp_capture_ops = { | |||
4688 | .copy = snd_hdsp_capture_copy, | 4688 | .copy = snd_hdsp_capture_copy, |
4689 | }; | 4689 | }; |
4690 | 4690 | ||
4691 | static int __devinit snd_hdsp_create_hwdep(struct snd_card *card, | 4691 | static int snd_hdsp_create_hwdep(struct snd_card *card, struct hdsp *hdsp) |
4692 | struct hdsp *hdsp) | ||
4693 | { | 4692 | { |
4694 | struct snd_hwdep *hw; | 4693 | struct snd_hwdep *hw; |
4695 | int err; | 4694 | int err; |
@@ -4857,7 +4856,7 @@ static int snd_hdsp_create_alsa_devices(struct snd_card *card, struct hdsp *hdsp | |||
4857 | 4856 | ||
4858 | #ifdef HDSP_FW_LOADER | 4857 | #ifdef HDSP_FW_LOADER |
4859 | /* load firmware via hotplug fw loader */ | 4858 | /* load firmware via hotplug fw loader */ |
4860 | static int __devinit hdsp_request_fw_loader(struct hdsp *hdsp) | 4859 | static int hdsp_request_fw_loader(struct hdsp *hdsp) |
4861 | { | 4860 | { |
4862 | const char *fwfile; | 4861 | const char *fwfile; |
4863 | const struct firmware *fw; | 4862 | const struct firmware *fw; |