Skip to content

Commit

Permalink
drm: sti: fix module compilation issue
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
benjamin.gaignard@linaro.org authored and Dave Airlie committed Dec 15, 2014
1 parent 731d754 commit 4e0cd68
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions drivers/gpu/drm/sti/sti_drm_plane.c
Original file line number Diff line number Diff line change
Expand Up @@ -194,3 +194,4 @@ struct drm_plane *sti_drm_plane_init(struct drm_device *dev,

return &layer->plane;
}
EXPORT_SYMBOL(sti_drm_plane_init);
1 change: 1 addition & 0 deletions drivers/gpu/drm/sti/sti_hqvdp.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand Down
2 changes: 2 additions & 0 deletions drivers/gpu/drm/sti/sti_layer.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -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,
Expand Down

0 comments on commit 4e0cd68

Please sign in to comment.