1. 12 1月, 2009 1 次提交
  2. 23 9月, 2008 1 次提交
    • U
      ALSA: Fix section for snd-aica platform driver · 418c8f89
      Uwe Kleine-König 提交于
      Don't use __init but __devinit to define probe function.  A pointer to
      snd_aica_probe is passed to the core via platform_driver_register and so the
      function must not disappear after the module is loaded.  Using __init
      and having HOTPLUG=y and SND_AICA=m the following probably oopses:
      
      	echo -n AICA > /sys/bus/platform/driver/AICA/unbind
      	echo -n AICA > /sys/bus/platform/driver/AICA/bind
      
      Strange enough add_aicamixer_controls which is only called by
      snd_aica_probe was already using __devinit.
      
      While at it move the remove function to .devexit.text section.
      Signed-off-by: NUwe Kleine-König <ukleinek@informatik.uni-freiburg.de>
      Cc: Adrian McMenamin <adrian@mcmen.demon.co.uk>
      Cc: Paul Mundt <lethal@linux-sh.org>
      Cc: Jaroslav Kysela <perex@perex.cz>
      Cc: Andrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      Signed-off-by: NJaroslav Kysela <perex@perex.cz>
      418c8f89
  3. 13 8月, 2008 1 次提交
  4. 29 7月, 2008 1 次提交
  5. 29 4月, 2008 1 次提交
  6. 01 2月, 2008 3 次提交
  7. 23 10月, 2007 1 次提交
  8. 16 10月, 2007 1 次提交
  9. 20 7月, 2007 2 次提交