]> git.baikalelectronics.ru Git - kernel.git/commit
drm/etnaviv: don't fail to build on arches without PHYS_OFFSET
authorLucas Stach <l.stach@pengutronix.de>
Thu, 4 Jan 2018 12:40:03 +0000 (13:40 +0100)
committerLucas Stach <l.stach@pengutronix.de>
Mon, 12 Feb 2018 15:30:56 +0000 (16:30 +0100)
commit126cdb2a8ea5ae9f706ffee89c89e8ad680d5ca5
tree29a1119bcf23b67d17242afbcc8674965d00084e
parent03d16a572a4ae0747ad50600bde7c773e73d552a
drm/etnaviv: don't fail to build on arches without PHYS_OFFSET

Some architecture ports like ARC don't provide the PHYS_OFFSET symbol.
Define it to 0 in that case, which is the most conservative default in
the usage context of the etnaviv driver.

Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
drivers/gpu/drm/etnaviv/etnaviv_gpu.c