Commit 92eed66d authored by Takashi Iwai's avatar Takashi Iwai Committed by Linus Torvalds

[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: default avatarTakashi Iwai <tiwai@suse.de>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent f007dc04
...@@ -745,7 +745,7 @@ static int hdsp_get_iobox_version (struct hdsp *hdsp) ...@@ -745,7 +745,7 @@ static int hdsp_get_iobox_version (struct hdsp *hdsp)
#ifdef HDSP_FW_LOADER #ifdef HDSP_FW_LOADER
static int __devinit hdsp_request_fw_loader(struct hdsp *hdsp); static int hdsp_request_fw_loader(struct hdsp *hdsp);
#endif #endif
static int hdsp_check_for_firmware (struct hdsp *hdsp, int load_on_demand) 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,8 +4688,7 @@ static struct snd_pcm_ops snd_hdsp_capture_ops = {
.copy = snd_hdsp_capture_copy, .copy = snd_hdsp_capture_copy,
}; };
static int __devinit snd_hdsp_create_hwdep(struct snd_card *card, static int snd_hdsp_create_hwdep(struct snd_card *card, struct hdsp *hdsp)
struct hdsp *hdsp)
{ {
struct snd_hwdep *hw; struct snd_hwdep *hw;
int err; int err;
...@@ -4857,7 +4856,7 @@ static int snd_hdsp_create_alsa_devices(struct snd_card *card, struct hdsp *hdsp ...@@ -4857,7 +4856,7 @@ static int snd_hdsp_create_alsa_devices(struct snd_card *card, struct hdsp *hdsp
#ifdef HDSP_FW_LOADER #ifdef HDSP_FW_LOADER
/* load firmware via hotplug fw loader */ /* load firmware via hotplug fw loader */
static int __devinit hdsp_request_fw_loader(struct hdsp *hdsp) static int hdsp_request_fw_loader(struct hdsp *hdsp)
{ {
const char *fwfile; const char *fwfile;
const struct firmware *fw; const struct firmware *fw;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment