• Martin Michlmayr's avatar
    hisax: remove bad udelay call to fix build error on ARM · cc05368c
    Martin Michlmayr authored
    The hisax ISDN driver fails to build on ARM with CONFIG_HISAX_ELSA:
    
    | drivers/built-in.o: In function `modem_set_dial':
    | drivers/isdn/hisax/elsa_ser.c:535: undefined reference to `__bad_udelay'
    | drivers/isdn/hisax/elsa_ser.c:544: undefined reference to `__bad_udelay'
    | drivers/built-in.o: In function `modem_set_init':
    | drivers/isdn/hisax/elsa_ser.c:486: undefined reference to `__bad_udelay'
    | [...]
    
    According to the comment in arch/arm/include/asm/delay.h, __bad_udelay
    is specifically designed on ARM to produce a build failure when udelay
    is called with a value > 2000.
    Signed-off-by: default avatarMartin Michlmayr <tbm@cyrius.com>
    Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
    cc05368c
elsa_ser.c 16.6 KB