drm/bridge: dw-hdmi: Adapt to bridge API change
authorFabio Estevam <fabio.estevam@freescale.com>
Tue, 27 Jan 2015 12:21:49 +0000 (10:21 -0200)
committerThierry Reding <treding@nvidia.com>
Wed, 28 Jan 2015 09:01:30 +0000 (10:01 +0100)
commitb5217bf4692218d202d3d2cd772864fa1e10be4d
tree2a751157e734c1aaf2acdde48ef3645bd951ac08
parent384764c3611645d96889742a079168c86a6fc4c4
drm/bridge: dw-hdmi: Adapt to bridge API change

Commit fbc4572e9c48e45b ("drm/bridge: make bridge registration independent of
drm flow") introduced some drm/bridge API modifications. Make the necessary
changes so that we can avoid the build breakage:

drivers/gpu/drm/bridge/dw_hdmi.c: In function 'dw_hdmi_bridge_destroy':
drivers/gpu/drm/bridge/dw_hdmi.c:1378:2: error: implicit declaration of function 'drm_bridge_cleanup' [-Werror=implicit-function-declaration]
drivers/gpu/drm/bridge/dw_hdmi.c: At top level:
drivers/gpu/drm/bridge/dw_hdmi.c:1471:2: error: unknown field 'destroy' specified in initializer
drivers/gpu/drm/bridge/dw_hdmi.c: In function 'dw_hdmi_register':
drivers/gpu/drm/bridge/dw_hdmi.c:1535:2: error: implicit declaration of function 'drm_bridge_init' [-Werror=implicit-function-declaration]

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
drivers/gpu/drm/bridge/dw_hdmi.c