• Paul Mundt's avatar
    ALSA: sh: Fix up namespace collision in sh_dac_audio. · d4c69838
    Paul Mundt authored
    The module_platform_driver() conversion ended up tripping over the driver
    name, leading to confusion in the macro with regards to 'driver' being
    redefined. rename it to something slightly more suitable to avoid
    namespace collisions.
    
    sound/sh/sh_dac_audio.c:444:122: error: conflicting types for 'driver_init'
    include/linux/device.h:773:6: note: previous declaration of 'driver_init' was here
    make[3]: *** [sound/sh/sh_dac_audio.o] Error 1
    Signed-off-by: default avatarPaul Mundt <lethal@linux-sh.org>
    Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
    d4c69838
sh_dac_audio.c 10.7 KB