mirror of
https://github.com/adulau/aha.git
synced 2024-12-28 03:36:19 +00:00
[PARISC] fix section mismatch warnings in harmony sound driver
fix for two warnings: - Section mismatch: reference to .init.text:snd_harmony_mixer_init from .text.snd_harmony_probe after 'snd_harmony_probe' - Section mismatch: reference to .init.text:snd_harmony_mixer_reset from .text.snd_harmony_mixer_init after 'snd_harmony_mixer_init' Signed-off-by: Helge Deller <deller@gmx.de> Signed-off-by: Kyle McMartin <kyle@parisc-linux.org>
This commit is contained in:
parent
bcc0e04c5c
commit
992378a064
1 changed files with 2 additions and 2 deletions
|
@ -854,7 +854,7 @@ static struct snd_kcontrol_new snd_harmony_controls[] = {
|
|||
HARMONY_GAIN_HE_SHIFT, 1, 0),
|
||||
};
|
||||
|
||||
static void __init
|
||||
static void __devinit
|
||||
snd_harmony_mixer_reset(struct snd_harmony *h)
|
||||
{
|
||||
harmony_mute(h);
|
||||
|
@ -863,7 +863,7 @@ snd_harmony_mixer_reset(struct snd_harmony *h)
|
|||
harmony_unmute(h);
|
||||
}
|
||||
|
||||
static int __init
|
||||
static int __devinit
|
||||
snd_harmony_mixer_init(struct snd_harmony *h)
|
||||
{
|
||||
struct snd_card *card = h->card;
|
||||
|
|
Loading…
Reference in a new issue