diff options
author | Thierry Reding <treding@nvidia.com> | 2015-09-24 13:02:41 -0400 |
---|---|---|
committer | Vincent Abriou <vincent.abriou@st.com> | 2015-11-03 07:04:54 -0500 |
commit | 3a36e186ba4a135a63397a1e58a36f9f602af53e (patch) | |
tree | b690619f452fcd8510c84661c4a87a2c506c4dfb | |
parent | dcec16efd6776faca6f13ab698cb5cf031d62b66 (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.c | 3 | ||||
-rw-r--r-- | drivers/gpu/drm/sti/sti_mixer.c | 1 | ||||
-rw-r--r-- | drivers/gpu/drm/sti/sti_plane.c | 3 | ||||
-rw-r--r-- | drivers/gpu/drm/sti/sti_vtg.c | 6 |
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 | } |
322 | EXPORT_SYMBOL(sti_crtc_enable_vblank); | ||
323 | 322 | ||
324 | void sti_crtc_disable_vblank(struct drm_device *drm_dev, unsigned int pipe) | 323 | void 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 | } |
343 | EXPORT_SYMBOL(sti_crtc_disable_vblank); | ||
344 | 342 | ||
345 | static const struct drm_crtc_funcs sti_crtc_funcs = { | 343 | static 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 | } |
364 | EXPORT_SYMBOL(sti_crtc_is_main); | ||
365 | 362 | ||
366 | int sti_crtc_init(struct drm_device *drm_dev, struct sti_mixer *mixer, | 363 | int 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 | } |
61 | EXPORT_SYMBOL(sti_mixer_to_str); | ||
62 | 61 | ||
63 | static inline u32 sti_mixer_reg_read(struct sti_mixer *mixer, u32 reg_id) | 62 | static 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 | } |
45 | EXPORT_SYMBOL(sti_plane_to_str); | ||
46 | 45 | ||
47 | static void sti_plane_destroy(struct drm_plane *drm_plane) | 46 | static 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 | } |
111 | EXPORT_SYMBOL(sti_plane_init_property); | ||
112 | 110 | ||
113 | struct drm_plane_funcs sti_plane_helpers_funcs = { | 111 | struct 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 | }; |
122 | EXPORT_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 | } |
113 | EXPORT_SYMBOL(of_vtg_find); | ||
114 | 113 | ||
115 | static void vtg_reset(struct sti_vtg *vtg) | 114 | static 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 | } |
245 | EXPORT_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 | } |
268 | EXPORT_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 | } |
284 | EXPORT_SYMBOL(sti_vtg_get_pixel_number); | ||
285 | 281 | ||
286 | int sti_vtg_register_client(struct sti_vtg *vtg, struct notifier_block *nb, | 282 | int 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 | } |
295 | EXPORT_SYMBOL(sti_vtg_register_client); | ||
296 | 291 | ||
297 | int sti_vtg_unregister_client(struct sti_vtg *vtg, struct notifier_block *nb) | 292 | int 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 | } |
304 | EXPORT_SYMBOL(sti_vtg_unregister_client); | ||
305 | 299 | ||
306 | static irqreturn_t vtg_irq_thread(int irq, void *arg) | 300 | static irqreturn_t vtg_irq_thread(int irq, void *arg) |
307 | { | 301 | { |