• Alexey Dobriyan's avatar
    isdn/sc: compile breakage re check_reset() · e3aded3c
    Alexey Dobriyan authored
    There is check_reset() -- global function in drivers/isdn/sc/
    There is check_reset -- variable holding module param in aacraid driver.
    
    On allyesconfig they clash with:
    
      LD      drivers/built-in.o
    drivers/isdn/built-in.o: In function `check_reset':
    : multiple definition of `check_reset'
    drivers/scsi/built-in.o:(.data+0xe458): first defined here
    ld: Warning: size of symbol `check_reset' changed from 4 in drivers/scsi/built-in.o to 219 in drivers/isdn/built-in.o
    ld: Warning: type of symbol `check_reset' changed from 1 to 2 in drivers/isdn/built-in.o
    
    Rename the former.
    Signed-off-by: default avatarAlexey Dobriyan <adobriyan@sw.ru>
    Cc: Karsten Keil <kkeil@suse.de>
    Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
    Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
    e3aded3c
command.c 8.25 KB