Commit bc11da70 authored by Kirill A. Shutemov's avatar Kirill A. Shutemov Committed by Dave Airlie
Browse files

gma500: cdv_intel_lvds: mark few functions as static


Signed-off-by: default avatarKirill A. Shutemov <kirill.shutemov@linux.intel.com>
Signed-off-by: default avatarAlan Cox <alan@linux.intel.com>
Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
parent 455b9e91
...@@ -242,7 +242,7 @@ static void cdv_intel_lvds_restore(struct drm_connector *connector) ...@@ -242,7 +242,7 @@ static void cdv_intel_lvds_restore(struct drm_connector *connector)
{ {
} }
int cdv_intel_lvds_mode_valid(struct drm_connector *connector, static int cdv_intel_lvds_mode_valid(struct drm_connector *connector,
struct drm_display_mode *mode) struct drm_display_mode *mode)
{ {
struct drm_device *dev = connector->dev; struct drm_device *dev = connector->dev;
...@@ -267,7 +267,7 @@ int cdv_intel_lvds_mode_valid(struct drm_connector *connector, ...@@ -267,7 +267,7 @@ int cdv_intel_lvds_mode_valid(struct drm_connector *connector,
return MODE_OK; return MODE_OK;
} }
bool cdv_intel_lvds_mode_fixup(struct drm_encoder *encoder, static bool cdv_intel_lvds_mode_fixup(struct drm_encoder *encoder,
struct drm_display_mode *mode, struct drm_display_mode *mode,
struct drm_display_mode *adjusted_mode) struct drm_display_mode *adjusted_mode)
{ {
...@@ -436,7 +436,7 @@ static int cdv_intel_lvds_get_modes(struct drm_connector *connector) ...@@ -436,7 +436,7 @@ static int cdv_intel_lvds_get_modes(struct drm_connector *connector)
* Unregister the DDC bus for this connector then free the driver private * Unregister the DDC bus for this connector then free the driver private
* structure. * structure.
*/ */
void cdv_intel_lvds_destroy(struct drm_connector *connector) static void cdv_intel_lvds_destroy(struct drm_connector *connector)
{ {
struct psb_intel_encoder *psb_intel_encoder = struct psb_intel_encoder *psb_intel_encoder =
psb_intel_attached_encoder(connector); psb_intel_attached_encoder(connector);
...@@ -448,7 +448,7 @@ void cdv_intel_lvds_destroy(struct drm_connector *connector) ...@@ -448,7 +448,7 @@ void cdv_intel_lvds_destroy(struct drm_connector *connector)
kfree(connector); kfree(connector);
} }
int cdv_intel_lvds_set_property(struct drm_connector *connector, static int cdv_intel_lvds_set_property(struct drm_connector *connector,
struct drm_property *property, struct drm_property *property,
uint64_t value) uint64_t value)
{ {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment