aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Reding <treding@nvidia.com>2015-09-24 13:02:41 -0400
committerVincent Abriou <vincent.abriou@st.com>2015-11-03 07:04:54 -0500
commit3a36e186ba4a135a63397a1e58a36f9f602af53e (patch)
treeb690619f452fcd8510c84661c4a87a2c506c4dfb
parentdcec16efd6776faca6f13ab698cb5cf031d62b66 (diff)
drm/sti: Do not export symbols
None of these exported symbols are used outside of the drm-sti driver, so there is no reason to export them. Cc: Benjamin Gaignard <benjamin.gaignard@linaro.org> Cc: Vincent Abriou <vincent.abriou@st.com> Signed-off-by: Thierry Reding <treding@nvidia.com> Reviewed-by: Vincent Abriou <vincent.abriou@st.com>
-rw-r--r--drivers/gpu/drm/sti/sti_crtc.c3
-rw-r--r--drivers/gpu/drm/sti/sti_mixer.c1
-rw-r--r--drivers/gpu/drm/sti/sti_plane.c3
-rw-r--r--drivers/gpu/drm/sti/sti_vtg.c6
4 files changed, 0 insertions, 13 deletions
diff --git a/drivers/gpu/drm/sti/sti_crtc.c b/drivers/gpu/drm/sti/sti_crtc.c
index 51729a13d485..3ae09dcd4fd8 100644
--- a/drivers/gpu/drm/sti/sti_crtc.c
+++ b/drivers/gpu/drm/sti/sti_crtc.c
@@ -319,7 +319,6 @@ int sti_crtc_enable_vblank(struct drm_device *dev, unsigned int pipe)
319 319
320 return 0; 320 return 0;
321} 321}
322EXPORT_SYMBOL(sti_crtc_enable_vblank);
323 322
324void sti_crtc_disable_vblank(struct drm_device *drm_dev, unsigned int pipe) 323void sti_crtc_disable_vblank(struct drm_device *drm_dev, unsigned int pipe)
325{ 324{
@@ -340,7 +339,6 @@ void sti_crtc_disable_vblank(struct drm_device *drm_dev, unsigned int pipe)
340 compo->mixer[pipe]->pending_event = NULL; 339 compo->mixer[pipe]->pending_event = NULL;
341 } 340 }
342} 341}
343EXPORT_SYMBOL(sti_crtc_disable_vblank);
344 342
345static const struct drm_crtc_funcs sti_crtc_funcs = { 343static const struct drm_crtc_funcs sti_crtc_funcs = {
346 .set_config = drm_atomic_helper_set_config, 344 .set_config = drm_atomic_helper_set_config,
@@ -361,7 +359,6 @@ bool sti_crtc_is_main(struct drm_crtc *crtc)
361 359
362 return false; 360 return false;
363} 361}
364EXPORT_SYMBOL(sti_crtc_is_main);
365 362
366int sti_crtc_init(struct drm_device *drm_dev, struct sti_mixer *mixer, 363int sti_crtc_init(struct drm_device *drm_dev, struct sti_mixer *mixer,
367 struct drm_plane *primary, struct drm_plane *cursor) 364 struct drm_plane *primary, struct drm_plane *cursor)
diff --git a/drivers/gpu/drm/sti/sti_mixer.c b/drivers/gpu/drm/sti/sti_mixer.c
index 0182e9365004..4c18b50d71c5 100644
--- a/drivers/gpu/drm/sti/sti_mixer.c
+++ b/drivers/gpu/drm/sti/sti_mixer.c
@@ -58,7 +58,6 @@ const char *sti_mixer_to_str(struct sti_mixer *mixer)
58 return "<UNKNOWN MIXER>"; 58 return "<UNKNOWN MIXER>";
59 } 59 }
60} 60}
61EXPORT_SYMBOL(sti_mixer_to_str);
62 61
63static inline u32 sti_mixer_reg_read(struct sti_mixer *mixer, u32 reg_id) 62static inline u32 sti_mixer_reg_read(struct sti_mixer *mixer, u32 reg_id)
64{ 63{
diff --git a/drivers/gpu/drm/sti/sti_plane.c b/drivers/gpu/drm/sti/sti_plane.c
index d5c5e91f2956..2e5c751910c5 100644
--- a/drivers/gpu/drm/sti/sti_plane.c
+++ b/drivers/gpu/drm/sti/sti_plane.c
@@ -42,7 +42,6 @@ const char *sti_plane_to_str(struct sti_plane *plane)
42 return "<UNKNOWN PLANE>"; 42 return "<UNKNOWN PLANE>";
43 } 43 }
44} 44}
45EXPORT_SYMBOL(sti_plane_to_str);
46 45
47static void sti_plane_destroy(struct drm_plane *drm_plane) 46static void sti_plane_destroy(struct drm_plane *drm_plane)
48{ 47{
@@ -108,7 +107,6 @@ void sti_plane_init_property(struct sti_plane *plane,
108 plane->drm_plane.base.id, 107 plane->drm_plane.base.id,
109 sti_plane_to_str(plane), plane->zorder); 108 sti_plane_to_str(plane), plane->zorder);
110} 109}
111EXPORT_SYMBOL(sti_plane_init_property);
112 110
113struct drm_plane_funcs sti_plane_helpers_funcs = { 111struct drm_plane_funcs sti_plane_helpers_funcs = {
114 .update_plane = drm_atomic_helper_update_plane, 112 .update_plane = drm_atomic_helper_update_plane,
@@ -119,4 +117,3 @@ struct drm_plane_funcs sti_plane_helpers_funcs = {
119 .atomic_duplicate_state = drm_atomic_helper_plane_duplicate_state, 117 .atomic_duplicate_state = drm_atomic_helper_plane_duplicate_state,
120 .atomic_destroy_state = drm_atomic_helper_plane_destroy_state, 118 .atomic_destroy_state = drm_atomic_helper_plane_destroy_state,
121}; 119};
122EXPORT_SYMBOL(sti_plane_helpers_funcs);
diff --git a/drivers/gpu/drm/sti/sti_vtg.c b/drivers/gpu/drm/sti/sti_vtg.c
index d8bd8b76b1fa..d56630c60039 100644
--- a/drivers/gpu/drm/sti/sti_vtg.c
+++ b/drivers/gpu/drm/sti/sti_vtg.c
@@ -110,7 +110,6 @@ struct sti_vtg *of_vtg_find(struct device_node *np)
110 } 110 }
111 return NULL; 111 return NULL;
112} 112}
113EXPORT_SYMBOL(of_vtg_find);
114 113
115static void vtg_reset(struct sti_vtg *vtg) 114static void vtg_reset(struct sti_vtg *vtg)
116{ 115{
@@ -242,7 +241,6 @@ void sti_vtg_set_config(struct sti_vtg *vtg,
242 else 241 else
243 vtg_enable_irq(vtg); 242 vtg_enable_irq(vtg);
244} 243}
245EXPORT_SYMBOL(sti_vtg_set_config);
246 244
247/** 245/**
248 * sti_vtg_get_line_number 246 * sti_vtg_get_line_number
@@ -265,7 +263,6 @@ u32 sti_vtg_get_line_number(struct drm_display_mode mode, int y)
265 263
266 return start_line + y; 264 return start_line + y;
267} 265}
268EXPORT_SYMBOL(sti_vtg_get_line_number);
269 266
270/** 267/**
271 * sti_vtg_get_pixel_number 268 * sti_vtg_get_pixel_number
@@ -281,7 +278,6 @@ u32 sti_vtg_get_pixel_number(struct drm_display_mode mode, int x)
281{ 278{
282 return mode.htotal - mode.hsync_start + x; 279 return mode.htotal - mode.hsync_start + x;
283} 280}
284EXPORT_SYMBOL(sti_vtg_get_pixel_number);
285 281
286int sti_vtg_register_client(struct sti_vtg *vtg, struct notifier_block *nb, 282int sti_vtg_register_client(struct sti_vtg *vtg, struct notifier_block *nb,
287 struct drm_crtc *crtc) 283 struct drm_crtc *crtc)
@@ -292,7 +288,6 @@ int sti_vtg_register_client(struct sti_vtg *vtg, struct notifier_block *nb,
292 vtg->crtc = crtc; 288 vtg->crtc = crtc;
293 return raw_notifier_chain_register(&vtg->notifier_list, nb); 289 return raw_notifier_chain_register(&vtg->notifier_list, nb);
294} 290}
295EXPORT_SYMBOL(sti_vtg_register_client);
296 291
297int sti_vtg_unregister_client(struct sti_vtg *vtg, struct notifier_block *nb) 292int sti_vtg_unregister_client(struct sti_vtg *vtg, struct notifier_block *nb)
298{ 293{
@@ -301,7 +296,6 @@ int sti_vtg_unregister_client(struct sti_vtg *vtg, struct notifier_block *nb)
301 296
302 return raw_notifier_chain_unregister(&vtg->notifier_list, nb); 297 return raw_notifier_chain_unregister(&vtg->notifier_list, nb);
303} 298}
304EXPORT_SYMBOL(sti_vtg_unregister_client);
305 299
306static irqreturn_t vtg_irq_thread(int irq, void *arg) 300static irqreturn_t vtg_irq_thread(int irq, void *arg)
307{ 301{