hisax: remove bad udelay call to fix build error on ARM
commitcc05368c52fed7d9efa0f56c5270e95bb569713e
authorMartin Michlmayr <tbm@cyrius.com>
Fri, 6 Nov 2009 14:52:34 +0000 (6 14:52 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sat, 7 Nov 2009 04:33:41 +0000 (6 20:33 -0800)
tree1bd168fa5004230332ef5a83d344b4a72d20bfe9
parent23ca0c989e46924393f1d54bec84801d035dd28e
hisax: remove bad udelay call to fix build error on ARM

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: Martin Michlmayr <tbm@cyrius.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/isdn/hisax/elsa_ser.c