Remove remaining mdelay() macros
Subsystems (2)
PATCH 1/1 Remove remaining mdelay() macros
Drop mdelay() macros since we already have a common mdelay() func.
--- drivers/block/sata_sil.c | 1 - drivers/video/da8xx-fb.c | 1 - 2 files changed, 0 insertions(+), 2 deletions(-)
drivers/block/sata_sil.c +0 -1
@@ -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;
drivers/video/da8xx-fb.c +0 -1
@@ -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;
Signature · 1 line
1.7.7.6
PATCH 1/1 Remove remaining mdelay() macros
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20120425/538f3d20/attachment.pgp>
PATCH 1/1 Remove remaining mdelay() macros
In reply to Anatolij GustschinQuoted 7 lines · On Wed, 25 Apr 2012 10:43:23 +0200 Anatolij Gustschin <[email protected]> wrote:
Drop
mdelay()macros since we already have a commonmdelay()func.Signed-off-by Anatolij Gustschin <[email protected]>--- drivers/block/sata_sil.c | 1 - drivers/video/da8xx-fb.c | 1 - 2 files changed, 0 insertions(+), 2 deletions(-)
Applied to u-boot-staging/agust at denx.de.
Wolfgang Denk
AppliedPATCH 1/1 Remove remaining mdelay() macros
In reply to Anatolij GustschinDear Anatolij Gustschin,
Quoted 7 lines · In message <[email protected]> you wrote:
Drop
mdelay()macros since we already have a commonmdelay()func.Signed-off-by Anatolij Gustschin <[email protected]>--- drivers/block/sata_sil.c | 1 - drivers/video/da8xx-fb.c | 1 - 2 files changed, 0 insertions(+), 2 deletions(-)
Applied, thanks.
Best regards,
Wolfgang Denk
Signature · 4 lines
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de Due to lack of disk space, this fortune database has been discontinued.