diff options
| author | Uwe Kleine-König <[email protected]> | 2008-09-09 13:47:11 +0200 |
|---|---|---|
| committer | Jaroslav Kysela <[email protected]> | 2008-09-09 18:51:56 +0200 |
| commit | e8f18ae558b30783c2c0f6df32626fbc789ba6f6 (patch) | |
| tree | 77f31d8af199596a1167df0a7b416b28001202d2 /tools/perf/scripts/python | |
| parent | e99d32b325ac68bd2ffbbe8edc44cbaf5d91e4be (diff) | |
ALSA: fix section for sa11xx-uda1341 platform driver
Don't use __init but __devinit to define probe function. A pointer to
sa11xx_uda1341_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_SA11XX_UDA1341=m the following
probably oopses:
echo -n sa11xx_uda1341.1 > /sys/bus/platform/driver/sa11xx_uda1341/unbind
echo -n sa11xx_uda1341.1 > /sys/bus/platform/driver/sa11xx_uda1341/bind
Signed-off-by: Uwe Kleine-König <[email protected]>
Cc: Russell King <[email protected]>
Cc: Brian Avery <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Takashi Iwai <[email protected]>
Signed-off-by: Jaroslav Kysela <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions