diff options
author | Philipp Zabel <[email protected]> | 2021-01-08 10:53:06 +0100 |
---|---|---|
committer | Philipp Zabel <[email protected]> | 2021-01-08 19:42:14 +0100 |
commit | 82581fcf070b68a91fb3a3ade08d9a76380a4789 (patch) | |
tree | 76953629a54b1a0c5d8eef5dd7625686c499e60c /lib/mpi/mpi-sub-ui.c | |
parent | 5d91295257eae2ebc01d23e2d04b891475d1ecd2 (diff) |
drm/modes: add non-OF stub for of_get_drm_display_mode
If CONFIG_OF is disabled, of_get_drm_display_mode is not compiled in,
and drivers using it fail to build:
ld: drivers/gpu/drm/imx/parallel-display.o: in function `imx_pd_connector_get_modes':
parallel-display.c:(.text+0x8d): undefined reference to `of_get_drm_display_mode'
Add an inline stub so they can be build-tested with non-OF
configurations.
Reported-by: Randy Dunlap <[email protected]>
Reviewed-by: Daniel Vetter <[email protected]>
Acked-by: Randy Dunlap <[email protected]>
Signed-off-by: Philipp Zabel <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-sub-ui.c')
0 files changed, 0 insertions, 0 deletions