drm: sti: fix module compilation issue
authorbenjamin.gaignard@linaro.org <benjamin.gaignard@linaro.org>
Sat, 13 Dec 2014 06:59:31 +0000 (07:59 +0100)
committerDave Airlie <airlied@redhat.com>
Mon, 15 Dec 2014 07:07:57 +0000 (17:07 +1000)
When compiling in module some symbol aren't missing,
export them correctly.

Signed-off-by: Benjamin Gaignard <benjamin.gaignard@linaro.org>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/sti/sti_drm_plane.c
drivers/gpu/drm/sti/sti_hqvdp.c
drivers/gpu/drm/sti/sti_layer.c

index c9dd0e57cac19ac4b01f506cfb54ac96596264d1..bb6a29339e1084bca0483e7ee643cfc62c06299a 100644 (file)
@@ -194,3 +194,4 @@ struct drm_plane *sti_drm_plane_init(struct drm_device *dev,
 
        return &layer->plane;
 }
+EXPORT_SYMBOL(sti_drm_plane_init);
index 200d0201457521e63e2072a6e0bc39b16e92ac6d..f3db05dab0abb6210433b6195e80ddc205ed17a1 100644 (file)
@@ -816,6 +816,7 @@ struct sti_layer *sti_hqvdp_create(struct device *dev)
 
        return &hqvdp->layer;
 }
+EXPORT_SYMBOL(sti_hqvdp_create);
 
 static void sti_hqvdp_init_plugs(struct sti_hqvdp *hqvdp)
 {
index 480ec1c974e20c58b7dbd06efa4d988e8160a29e..899104f9d4bcf364d27d2ca9ba572b98baddb943 100644 (file)
@@ -40,6 +40,7 @@ const char *sti_layer_to_str(struct sti_layer *layer)
                return "<UNKNOWN LAYER>";
        }
 }
+EXPORT_SYMBOL(sti_layer_to_str);
 
 struct sti_layer *sti_layer_create(struct device *dev, int desc,
                                   void __iomem *baseaddr)
@@ -77,6 +78,7 @@ struct sti_layer *sti_layer_create(struct device *dev, int desc,
 
        return layer;
 }
+EXPORT_SYMBOL(sti_layer_create);
 
 int sti_layer_prepare(struct sti_layer *layer,
                      struct drm_crtc *crtc,