diff options
author | Helge Deller <deller@gmx.de> | 2017-08-21 22:52:05 +0300 |
---|---|---|
committer | Helge Deller <deller@gmx.de> | 2017-08-22 17:34:35 +0300 |
commit | c8dbaa2261197a648673cc14a280fe7dac73ca5d (patch) | |
tree | 96c6e482ee17e28a1e858478722a8c36aa59c2ca /sound/parisc | |
parent | b6adc16e08e0ee8bbc9cccf7af3882b6e1cb30c2 (diff) | |
download | linux-c8dbaa2261197a648673cc14a280fe7dac73ca5d.tar.xz |
parisc/harmony: Fix section mismatches
Signed-off-by: Helge Deller <deller@gmx.de>
Diffstat (limited to 'sound/parisc')
-rw-r--r-- | sound/parisc/harmony.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/sound/parisc/harmony.c b/sound/parisc/harmony.c index 5911eb35c2a3..5e04c2b4fbc1 100644 --- a/sound/parisc/harmony.c +++ b/sound/parisc/harmony.c @@ -66,7 +66,7 @@ module_param(id, charp, 0444); 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 */ { HPHW_FIO, HVERSION_REV_ANY_ID, HVERSION_ANY_ID, 0x0007A }, /* 712 / 715 */ @@ -960,7 +960,7 @@ free_and_ret: return err; } -static int +static int __init snd_harmony_probe(struct parisc_device *padev) { int err; @@ -1000,18 +1000,18 @@ free_and_ret: return err; } -static int +static int __exit snd_harmony_remove(struct parisc_device *padev) { snd_card_free(parisc_get_drvdata(padev)); return 0; } -static struct parisc_driver snd_harmony_driver = { +static struct parisc_driver snd_harmony_driver __refdata = { .name = "harmony", .id_table = snd_harmony_devtable, .probe = snd_harmony_probe, - .remove = snd_harmony_remove, + .remove = __exit_p(snd_harmony_remove), }; static int __init |