drm: Don't EXPORT drm_add/reset_display_info
Only used within drm.ko, no need to tempt drivers. Cc: Keith Packard <keithp@keithp.com> Cc: Ville Syrjala <ville.syrjala@linux.intel.com> Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Signed-off-by: Daniel Vetter <daniel.vetter@intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20180424142242.12093-1-daniel.vetter@ffwll.ch
This commit is contained in:
Родитель
dd388ee1ec
Коммит
6e35fed963
|
@ -220,3 +220,5 @@ int drm_mode_page_flip_ioctl(struct drm_device *dev,
|
|||
|
||||
/* drm_edid.c */
|
||||
void drm_mode_fixup_1366x768(struct drm_display_mode *mode);
|
||||
void drm_reset_display_info(struct drm_connector *connector);
|
||||
u32 drm_add_display_info(struct drm_connector *connector, const struct edid *edid);
|
||||
|
|
|
@ -4454,7 +4454,6 @@ drm_reset_display_info(struct drm_connector *connector)
|
|||
|
||||
info->non_desktop = 0;
|
||||
}
|
||||
EXPORT_SYMBOL_GPL(drm_reset_display_info);
|
||||
|
||||
u32 drm_add_display_info(struct drm_connector *connector, const struct edid *edid)
|
||||
{
|
||||
|
@ -4538,7 +4537,6 @@ u32 drm_add_display_info(struct drm_connector *connector, const struct edid *edi
|
|||
info->color_formats |= DRM_COLOR_FORMAT_YCRCB422;
|
||||
return quirks;
|
||||
}
|
||||
EXPORT_SYMBOL_GPL(drm_add_display_info);
|
||||
|
||||
static int validate_displayid(u8 *displayid, int length, int idx)
|
||||
{
|
||||
|
|
|
@ -465,8 +465,6 @@ struct edid *drm_get_edid(struct drm_connector *connector,
|
|||
struct edid *drm_get_edid_switcheroo(struct drm_connector *connector,
|
||||
struct i2c_adapter *adapter);
|
||||
struct edid *drm_edid_duplicate(const struct edid *edid);
|
||||
void drm_reset_display_info(struct drm_connector *connector);
|
||||
u32 drm_add_display_info(struct drm_connector *connector, const struct edid *edid);
|
||||
int drm_add_edid_modes(struct drm_connector *connector, struct edid *edid);
|
||||
|
||||
u8 drm_match_cea_mode(const struct drm_display_mode *to_match);
|
||||
|
|
Загрузка…
Ссылка в новой задаче