summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2009-07-02 10:28:56 +0200
committerTakashi Iwai <tiwai@suse.de>2009-07-02 10:30:50 +0200
commitcd775387244e379ef9b284f9b6aff6ee069f4d12 (patch)
tree0d946ae822efdb4044a9e7e4576e2927007dc875
parentb40e9538124fc9b9333e3eea0fc514da4a185dae (diff)
downloadop-kernel-dev-cd775387244e379ef9b284f9b6aff6ee069f4d12.zip
op-kernel-dev-cd775387244e379ef9b284f9b6aff6ee069f4d12.tar.gz
ALSA: ice1724 - Fix section mismatch
Now snd_vt1724_chip_reset() is used in the resume callback, thus it cannot be __devinit. Signed-off-by: Takashi Iwai <tiwai@suse.de>
-rw-r--r--sound/pci/ice1712/ice1724.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/pci/ice1712/ice1724.c b/sound/pci/ice1712/ice1724.c
index 6a56002..fdd6c6d 100644
--- a/sound/pci/ice1712/ice1724.c
+++ b/sound/pci/ice1712/ice1724.c
@@ -2267,7 +2267,7 @@ static int __devinit snd_vt1724_read_eeprom(struct snd_ice1712 *ice,
-static void __devinit snd_vt1724_chip_reset(struct snd_ice1712 *ice)
+static void snd_vt1724_chip_reset(struct snd_ice1712 *ice)
{
outb(VT1724_RESET , ICEREG1724(ice, CONTROL));
inb(ICEREG1724(ice, CONTROL)); /* pci posting flush */
OpenPOWER on IntegriCloud