Staging: bcm: Fix udelay related compilation error
authorTushar Behera <tushar.behera@linaro.org>
Fri, 14 Sep 2012 04:37:33 +0000 (10:07 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 14 Sep 2012 04:46:29 +0000 (21:46 -0700)
commit8e360ec82322358056786e651322085af3ef6960
tree013efc9f210238e852945a07f93ecea37778f8c9
parentd42bb0fbd93582adee0f404b1b82af809e9c0483
Staging: bcm: Fix udelay related compilation error

commit 6788d7dab6a5 ("Staging: bcm: Use udelay instead of msleep for
delays in nvm.c") replaces msleep with udelay values. udelay values
of more than 1000 should be replaced by mdelay instead.

This fixes following build error.
ERROR: "__bad_udelay" [drivers/staging/bcm/bcm_wimax.ko] undefined!
make[1]: *** [__modpost] Error 1
make: *** [modules] Error 2

Cc: Kevin McKinney <klmckinney1@gmail.com>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Tushar Behera <tushar.behera@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/bcm/nvm.c