Skip to contentSkip to conversation

snd_pmac_toonie_init should to be __init

PATCH New Andreas Schwab 1 participant 1 message Apr 23, 2006 Sound

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 snd_pmac_toonie_init should to be __init

snd_pmac_toonie_init is only called by __init code and calls __init code itself.

---
 sound/ppc/toonie.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
sound/ppc/toonie.c +1 -1
Index: linux-2.6.17-rc2/sound/ppc/toonie.c
===================================================================
@@ -335,7 +335,7 @@ static void toonie_cleanup(struct snd_pm
 	chip->mixer_data = NULL;
 }
 
-int snd_pmac_toonie_init(struct snd_pmac *chip)
+int __init snd_pmac_toonie_init(struct snd_pmac *chip)
 {
 	struct pmac_toonie *mix;
 

Andreas.

Signature · 4 lines
Andreas Schwab, SuSE Labs, [email protected]
SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany
PGP key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."