]> git.baikalelectronics.ru Git - kernel.git/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)
commit873bd8f7c0611a1c0e69102af78e7b4d7639145f
tree278d32be3b1bed64360b9acdf50de0e157fa24a3
parent48ba30a317bf18ccdd9b2040c413903fbac08f08
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