]> err.no Git - linux-2.6/commit
palm_bk3710: fix resource management
authorSergei Shtylyov <sshtylyov@ru.mvista.com>
Fri, 20 Jun 2008 18:53:32 +0000 (20:53 +0200)
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Fri, 20 Jun 2008 18:53:32 +0000 (20:53 +0200)
commitce42a54946db338e43be9a89c0f7927e02aa3a16
tree278d32be3b1bed64360b9acdf50de0e157fa24a3
parent9bedbcb207ed9a571b239231d99c8fd4a34ae24d
palm_bk3710: fix resource management

The driver expected a *virtual* address in the IDE platform device's memory
resource and didn't request the memory region for the register block. Fix this
taking into account the fact that DaVinci SoC devices are fixed-mapped to the
virtual memory early and we can get their virtual addresses using IO_ADDRESS()
macro, not having to call ioremap()...

While at it, also do some cosmetic changes...

Signed-off-by: Sergei Shtylyov <sshtylyov@ru.mvista.com>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
drivers/ide/arm/palm_bk3710.c