Remove remaining mdelay() macros
Drop mdelay() macros since we already have a common mdelay() func. Signed-off-by: Anatolij Gustschin <agust@denx.de> Acked-by: Mike Frysinger <vapier@gentoo.org>
This commit is contained in:
parent
50cd93b250
commit
fe749d3728
@ -30,7 +30,6 @@
|
||||
|
||||
/* Convert sectorsize to wordsize */
|
||||
#define ATA_SECTOR_WORDS (ATA_SECT_SIZE/2)
|
||||
#define mdelay(n) udelay((n)*1000)
|
||||
#define virt_to_bus(devno, v) pci_virt_to_mem(devno, (void *) (v))
|
||||
|
||||
static struct sata_info sata_info;
|
||||
|
@ -121,7 +121,6 @@ struct da8xx_lcd_regs {
|
||||
#define LOWER_MARGIN 32
|
||||
|
||||
#define calc_fbsize() (panel.plnSizeX * panel.plnSizeY * panel.gdfBytesPP)
|
||||
#define mdelay(n) ({unsigned long msec = (n); while (msec--) udelay(1000); })
|
||||
|
||||
static struct da8xx_lcd_regs *da8xx_fb_reg_base;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user