From: Ander Conselvan de Oliveira <ander.conselvan.de.oliveira at intel.com> --- drivers/gpu/drm/drm_flip.c | 11 +++++++++++ 1 files changed, 11 insertions(+), 0 deletions(-) diff --git a/drivers/gpu/drm/drm_flip.c b/drivers/gpu/drm/drm_flip.c index 6ccc3f8..a20e6a4 100644 --- a/drivers/gpu/drm/drm_flip.c +++ b/drivers/gpu/drm/drm_flip.c @@ -24,6 +24,7 @@ * Ville Syrj?l? <ville.syrjala at linux.intel.com> */ +#include <linux/export.h> #include <drm/drm_flip.h> static void drm_flip_driver_cleanup(struct work_struct *work) @@ -141,6 +142,7 @@ void drm_flip_helper_init(struct drm_flip_helper *helper, helper->driver = driver; helper->funcs = funcs; } +EXPORT_SYMBOL(drm_flip_helper_init); void drm_flip_helper_clear(struct drm_flip_helper *helper) { @@ -176,6 +178,7 @@ void drm_flip_helper_clear(struct drm_flip_helper *helper) if (need_cleanup) queue_work(driver->wq, &driver->cleanup_work); } +EXPORT_SYMBOL(drm_flip_helper_clear); void drm_flip_helper_fini(struct drm_flip_helper *helper) { @@ -186,6 +189,7 @@ void drm_flip_helper_fini(struct drm_flip_helper *helper) flush_work_sync(&driver->finish_work); flush_work_sync(&driver->cleanup_work); } +EXPORT_SYMBOL(drm_flip_helper_fini); void drm_flip_helper_vblank(struct drm_flip_helper *helper) { @@ -223,6 +227,7 @@ void drm_flip_helper_vblank(struct drm_flip_helper *helper) if (need_cleanup) queue_work(driver->wq, &driver->cleanup_work); } +EXPORT_SYMBOL(drm_flip_helper_vblank); void drm_flip_driver_init(struct drm_flip_driver *driver, const struct drm_flip_driver_funcs *funcs) @@ -239,6 +244,7 @@ void drm_flip_driver_init(struct drm_flip_driver *driver, driver->wq = create_singlethread_workqueue("drm_flip"); } +EXPORT_SYMBOL(drm_flip_driver_init); void drm_flip_driver_fini(struct drm_flip_driver *driver) { @@ -248,6 +254,7 @@ void drm_flip_driver_fini(struct drm_flip_driver *driver) WARN_ON(!list_empty(&driver->finish_list)); WARN_ON(!list_empty(&driver->cleanup_list)); } +EXPORT_SYMBOL(drm_flip_driver_fini); void drm_flip_driver_schedule_flips(struct drm_flip_driver *driver, struct list_head *flips) @@ -298,6 +305,7 @@ void drm_flip_driver_schedule_flips(struct drm_flip_driver *driver, if (need_cleanup) queue_work(driver->wq, &driver->cleanup_work); } +EXPORT_SYMBOL(drm_flip_driver_schedule_flips); void drm_flip_driver_prepare_flips(struct drm_flip_driver *driver, struct list_head *flips) @@ -311,6 +319,7 @@ void drm_flip_driver_prepare_flips(struct drm_flip_driver *driver, helper->funcs->prepare(flip); } } +EXPORT_SYMBOL(drm_flip_driver_prepare_flips); void drm_flip_driver_complete_flips(struct drm_flip_driver *driver, struct list_head *flips) @@ -365,6 +374,7 @@ void drm_flip_driver_complete_flips(struct drm_flip_driver *driver, if (need_cleanup) queue_work(driver->wq, &driver->cleanup_work); } +EXPORT_SYMBOL(drm_flip_driver_complete_flips); void drm_flip_init(struct drm_flip *flip, struct drm_flip_helper *helper) @@ -374,3 +384,4 @@ void drm_flip_init(struct drm_flip *flip, flip->finished = false; INIT_LIST_HEAD(&flip->list); } +EXPORT_SYMBOL(drm_flip_init); -- 1.7.8.6