Commit c8dbaa22 authored by Helge Deller's avatar Helge Deller

parisc/harmony: Fix section mismatches

Signed-off-by: default avatarHelge Deller <deller@gmx.de>
parent b6adc16e
...@@ -66,7 +66,7 @@ module_param(id, charp, 0444); ...@@ -66,7 +66,7 @@ module_param(id, charp, 0444);
MODULE_PARM_DESC(id, "ID string for Harmony driver."); MODULE_PARM_DESC(id, "ID string for Harmony driver.");
static struct parisc_device_id snd_harmony_devtable[] = { static const struct parisc_device_id snd_harmony_devtable[] __initconst = {
/* bushmaster / flounder */ /* bushmaster / flounder */
{ HPHW_FIO, HVERSION_REV_ANY_ID, HVERSION_ANY_ID, 0x0007A }, { HPHW_FIO, HVERSION_REV_ANY_ID, HVERSION_ANY_ID, 0x0007A },
/* 712 / 715 */ /* 712 / 715 */
...@@ -960,7 +960,7 @@ snd_harmony_create(struct snd_card *card, ...@@ -960,7 +960,7 @@ snd_harmony_create(struct snd_card *card,
return err; return err;
} }
static int static int __init
snd_harmony_probe(struct parisc_device *padev) snd_harmony_probe(struct parisc_device *padev)
{ {
int err; int err;
...@@ -1000,18 +1000,18 @@ snd_harmony_probe(struct parisc_device *padev) ...@@ -1000,18 +1000,18 @@ snd_harmony_probe(struct parisc_device *padev)
return err; return err;
} }
static int static int __exit
snd_harmony_remove(struct parisc_device *padev) snd_harmony_remove(struct parisc_device *padev)
{ {
snd_card_free(parisc_get_drvdata(padev)); snd_card_free(parisc_get_drvdata(padev));
return 0; return 0;
} }
static struct parisc_driver snd_harmony_driver = { static struct parisc_driver snd_harmony_driver __refdata = {
.name = "harmony", .name = "harmony",
.id_table = snd_harmony_devtable, .id_table = snd_harmony_devtable,
.probe = snd_harmony_probe, .probe = snd_harmony_probe,
.remove = snd_harmony_remove, .remove = __exit_p(snd_harmony_remove),
}; };
static int __init static int __init
......
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