arc: Add virt_to_phys() stub
authorAlexey Brodkin <abrodkin@synopsys.com>
Fri, 8 Apr 2016 16:21:12 +0000 (09:21 -0700)
committerAlexey Brodkin <abrodkin@synopsys.com>
Mon, 11 Apr 2016 17:20:38 +0000 (10:20 -0700)
commit53637c911b7a2397b50690cd67b7d59145bcae9c
tree8e6388f99f9c49cef402712699df7e2082355489
parent8b15010b1fc6a0da76db0b5d96d12ffe69990dbe
arc: Add virt_to_phys() stub

Commit cf7c93cdd755 "usb: ehci: Implement V2P mapping"
introduced usage of virt_to_phys() in ehci-hcd.

Since there was no implementation of virt_to_phys() for ARC
compilation of the ehci-generic driver failed.

This change adds virt_to_phys() stub for ARC so now
USB driver for AXS101 board could be built again.

Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
Cc: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
Cc: Hans de Goede <hdegoede@redhat.com>
Acked-by: Marek Vasut <marex@denx.de>
arch/arc/include/asm/io.h