linux/include/drm
Laurent Pinchart 24713d8860 UPSTREAM: drm: of: Fix linking when CONFIG_OF is not set
The new helper drm_of_lvds_get_dual_link_pixel_order() introduced in
commit 6529007522 has a fallback stub when CONFIG_OF is not set, but
the stub is declared in drm_of.h without a static inline. This causes
multiple definitions of the function to be linked when the CONFIG_OF
option isn't set. Fix it by making the stub static inline.

Fixes: 6529007522 ("drm: of: Add drm_of_lvds_get_dual_link_pixel_order")
Reported-by: kbuild test robot <lkp@intel.com>
Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Reviewed-by: Fabrizio Castro <fabrizio.castro@bp.renesas.com>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20191219103703.8547-1-laurent.pinchart+renesas@ideasonboard.com
(cherry picked from commit 528d06d41b)
Change-Id: I9dcf69801d75592bc6e721b40734cb766a29366b
Signed-off-by: Sandy Huang <hjc@rock-chips.com>
2020-10-21 18:07:06 +08:00
..
bridge drm/bridge: synopsys: dw-hdmi: Check whether color has changed in connector atomic_check 2020-08-27 14:22:49 +08:00
i2c
tinydrm tinydrm/mipi-dbi: Use dma-safe buffers for all SPI transfers 2019-05-31 06:46:32 -07:00
ttm rk: revert to v4.4 2019-02-10 00:33:21 +08:00
amd_asic_type.h drm/amdgpu: Add vega20 to asic_type enum. 2018-05-17 10:13:09 -05:00
ati_pcigart.h
drm_agpsupport.h
drm_atomic_helper.h rk: revert to v4.4 2019-02-10 00:33:21 +08:00
drm_atomic.h drm/rockchip: driver: add support more property 2019-06-20 12:01:26 +08:00
drm_audio_component.h ALSA: hda: Make audio component support more generic 2018-07-17 22:25:48 +02:00
drm_auth.h
drm_blend.h drm/blend: Add a generic alpha property 2018-04-16 21:17:29 +02:00
drm_bridge.h drm/bridge: Move the struct drm_bridge member kerneldoc inline. 2018-06-21 14:00:06 -07:00
drm_cache.h drm: disable uncached DMA optimization for ARM and arm64 2019-03-13 14:02:40 -07:00
drm_client.h drm/cma-helper: Fix crash in fbdev error path 2018-10-02 13:03:34 +02:00
drm_color_mgmt.h drm: Introduce drm_color_lut_size() 2018-03-16 15:44:01 +02:00
drm_connector.h Merge tag 'ASB-2020-09-05_4.19-stable' of https://android.googlesource.com/kernel/common 2020-09-24 17:59:50 +08:00
drm_crtc_helper.h rk: revert to v4.4 2019-02-10 00:33:21 +08:00
drm_crtc.h drm/rockchip: add a debug node to dump buf from application 2019-09-29 10:14:56 +08:00
drm_debugfs_crc.h drm/crc: Only report a single overflow when a CRC fd is opened 2018-07-06 14:57:03 +02:00
drm_debugfs.h
drm_device.h drm/vblank: Allow dynamic per-crtc max_vblank_count 2019-09-16 08:22:04 +02:00
drm_displayid.h drm/edid: parse CEA blocks embedded in DisplayID 2019-07-26 09:14:26 +02:00
drm_dp_dual_mode_helper.h
drm_dp_helper.h ANDROID: GKI: Add 'i2c_mutex' to struct drm_dp_aux 2020-04-17 20:26:22 +00:00
drm_dp_mst_helper.h ANDROID: GKI: Add drm_dp_send_dpcd_{read,write} accessor functions 2020-04-18 01:36:52 +00:00
drm_drv.h Revert "drm/prime: add dmabuf begin/end cpu access" 2020-07-21 17:59:18 +08:00
drm_edid.h Merge tag 'ASB-2020-09-05_4.19-stable' of https://android.googlesource.com/kernel/common 2020-09-24 17:59:50 +08:00
drm_encoder_slave.h
drm_encoder.h drm: remove connector and encoder port 2020-07-03 09:24:29 +08:00
drm_fb_cma_helper.h drm/cma-helper: Remove drm_fb_cma_fbdev_init_with_funcs() 2018-07-10 14:54:50 +02:00
drm_fb_helper.h drm/fb-helper: Finish the generic fbdev emulation 2018-07-10 14:54:09 +02:00
drm_file.h Revert "drm: introduce share plane" 2020-07-03 10:14:09 +08:00
drm_fixed.h rk: revert to v4.4 2019-02-10 00:33:21 +08:00
drm_flip_work.h
drm_fourcc.h Merge remote branch 'android-4.19' of https://android.googlesource.com/kernel/common 2019-10-28 20:26:28 +08:00
drm_framebuffer.h drm/framebuffer: Print task that allocated the fb in debug info. 2017-12-20 15:30:17 +01:00
drm_gem_cma_helper.h Merge tag 'drm-misc-next-2017-11-30' of git://anongit.freedesktop.org/drm/drm-misc into drm-next 2017-12-04 05:42:49 +10:00
drm_gem_framebuffer_helper.h drm: Move simple_display_pipe prepare_fb helper into gem fb helpers 2018-04-24 13:57:22 +02:00
drm_gem.h drm: move read_domains and write_domain into i915 2018-02-16 14:12:48 +00:00
drm_global.h
drm_hashtab.h
drm_hdcp.h rk: revert to v4.4 2019-02-10 00:33:21 +08:00
drm_ioctl.h drm: remove all control node code 2018-05-03 21:26:32 +02:00
drm_irq.h
drm_lease.h
drm_legacy.h drm: prefer inline over __inline__ 2018-03-28 09:34:12 +03:00
drm_mipi_dsi.h Revert "drm/dsi: Export mipi_dsi_device_transfer()" 2020-07-09 09:08:46 +08:00
drm_mm.h drm/mm: Add a search-by-address variant to only inspect a single hole 2018-05-24 15:04:30 +01:00
drm_mode_config.h drm: Remove global property HDR_PANEL_METADATA 2020-08-27 14:23:18 +08:00
drm_mode_object.h ANDROID: include: drm: increase DRM max property count to 64 2020-04-16 00:19:48 +00:00
drm_modes.h rk: revert to v4.4 2019-02-10 00:33:21 +08:00
drm_modeset_helper_vtables.h Revert "drm: support atomic update flush for connector" 2020-08-27 14:30:35 +08:00
drm_modeset_helper.h drm/modeset-helper: Add simple modeset suspend/resume helpers 2017-11-30 18:18:08 +01:00
drm_modeset_lock.h rk: revert to v4.4 2019-02-10 00:33:21 +08:00
drm_of.h UPSTREAM: drm: of: Fix linking when CONFIG_OF is not set 2020-10-21 18:07:06 +08:00
drm_os_linux.h
drm_panel.h Merge tag 'ASB-2020-09-05_4.19-stable' of https://android.googlesource.com/kernel/common 2020-09-24 17:59:50 +08:00
drm_pci.h drm: drop drm_pcie_get_speed_cap_mask and drm_pcie_get_max_link_width 2018-07-05 16:40:00 -05:00
drm_pciids.h
drm_plane_helper.h drm: add missing ctx argument to plane transitional helpers 2018-07-03 09:30:19 +02:00
drm_plane.h Revert "drm: introduce share plane" 2020-07-03 10:14:09 +08:00
drm_prime.h ANDROID: Add C protos for dma_buf/drm_prime get_uuid 2020-04-17 23:15:12 +00:00
drm_print.h drm: Add puts callback for the coredump printer 2018-07-30 08:49:41 -04:00
drm_property.h drm: Fix kerneldoc for DRM_MODE_PROP_IMMUTABLE 2018-07-13 12:18:03 -04:00
drm_rect.h drm/rect: Handle rounding errors in drm_rect_clip_scaled, v3. 2018-05-04 11:09:54 +02:00
drm_scdc_helper.h rk: revert to v4.4 2019-02-10 00:33:21 +08:00
drm_simple_kms_helper.h drm: Move simple_display_pipe prepare_fb helper into gem fb helpers 2018-04-24 13:57:22 +02:00
drm_sync_helper.h
drm_syncobj.h drm/syncobj: some kerneldoc polish 2017-12-15 11:26:52 +01:00
drm_sysfs.h
drm_utils.h drm: Add panel orientation quirks, v6. 2017-12-04 23:03:21 +01:00
drm_vblank.h drm/vblank: Allow dynamic per-crtc max_vblank_count 2019-09-16 08:22:04 +02:00
drm_vma_manager.h drm/i915: Prevent writing into a read-only object via a GGTT mmap 2018-07-13 16:14:04 +01:00
drm_writeback.h drm/atomic: Avoid connector to writeback_connector casts 2018-07-07 07:51:19 +02:00
drmP.h drm: add drm_device_get_by_name support 2019-03-18 09:29:08 +08:00
gma_drm.h
gpu_scheduler.h drm/scheduler: only kill entity if last user is killed v2 2018-07-31 16:58:20 -05:00
i915_component.h drm/i915: Split audio component to a generic type 2018-07-17 22:25:19 +02:00
i915_drm.h x86/gpu: reserve ICL's graphics stolen memory 2018-07-10 16:28:47 -07:00
i915_pciids.h drm/i915/cfl: Add a new CFL PCI ID. 2019-08-25 10:48:01 +02:00
intel_lpe_audio.h
intel-gtt.h drm/i915: prefer resource_size_t for everything stolen 2017-12-12 12:30:22 +02:00
spsc_queue.h drm: move amd_gpu_scheduler into common location 2017-12-07 11:51:56 -05:00