summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/drm_edid.c
diff options
context:
space:
mode:
authorBen Skeggs <bskeggs@redhat.com>2011-03-30 07:03:47 +0200
committerDave Airlie <airlied@redhat.com>2011-04-01 02:16:17 +0200
commiteccaca28e29861a63ebc067bfff59c7efa427371 (patch)
tree9a3ac124bb62876135ee41ebd5ff802d24323629 /drivers/gpu/drm/drm_edid.c
parentdrm/radeon/kms: add some sanity checks to obj info record parsingi (v2) (diff)
downloadlinux-eccaca28e29861a63ebc067bfff59c7efa427371.tar.xz
linux-eccaca28e29861a63ebc067bfff59c7efa427371.zip
drm: export drm_find_cea_extension to drivers
Nouveau needs access to this structure to build an ELD block for use by the HDA audio codec. Signed-off-by: Ben Skeggs <bskeggs@redhat.com> Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/drm_edid.c')
-rw-r--r--drivers/gpu/drm/drm_edid.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/gpu/drm/drm_edid.c b/drivers/gpu/drm/drm_edid.c
index 9c595e3b9c20..adc9358c9bec 100644
--- a/drivers/gpu/drm/drm_edid.c
+++ b/drivers/gpu/drm/drm_edid.c
@@ -1297,7 +1297,7 @@ add_detailed_modes(struct drm_connector *connector, struct edid *edid,
/**
* Search EDID for CEA extension block.
*/
-static u8 *drm_find_cea_extension(struct edid *edid)
+u8 *drm_find_cea_extension(struct edid *edid)
{
u8 *edid_ext = NULL;
int i;
@@ -1318,6 +1318,7 @@ static u8 *drm_find_cea_extension(struct edid *edid)
return edid_ext;
}
+EXPORT_SYMBOL(drm_find_cea_extension);
/**
* drm_detect_hdmi_monitor - detect whether monitor is hdmi.