summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/nouveau/nouveau_platform.h
diff options
context:
space:
mode:
authorAlexandre Courbot <acourbot@nvidia.com>2015-01-15 09:29:56 +0300
committerBen Skeggs <bskeggs@redhat.com>2015-01-22 05:15:09 +0300
commit055a65d5987a7f246c3fc2297158286882dbdbcf (patch)
treee0659efc5e0857acca5682dc8212c62928dad546 /drivers/gpu/drm/nouveau/nouveau_platform.h
parent4dc63933ea518501fe9cfe6a8f8797d21095e76f (diff)
downloadlinux-055a65d5987a7f246c3fc2297158286882dbdbcf.tar.xz
drm/nouveau: merge nouveau_platform.ko into nouveau.ko
Having the two modules separated causes various unneeded complications, including having to export symbols accessed between the modules. Make things simpler by compiling platform device support into nouveau.ko. Platform device support remains optional and is only compiled on Tegra. Signed-off-by: Alexandre Courbot <acourbot@nvidia.com> Reviewed-by: Vince Hsu <vinceh@nvidia.com> Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/nouveau/nouveau_platform.h')
-rw-r--r--drivers/gpu/drm/nouveau/nouveau_platform.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/gpu/drm/nouveau/nouveau_platform.h b/drivers/gpu/drm/nouveau/nouveau_platform.h
index 58c28b5653d5..ca22c525329a 100644
--- a/drivers/gpu/drm/nouveau/nouveau_platform.h
+++ b/drivers/gpu/drm/nouveau/nouveau_platform.h
@@ -28,6 +28,7 @@
struct reset_control;
struct clk;
struct regulator;
+struct platform_driver;
struct nouveau_platform_gpu {
struct reset_control *rst;
@@ -48,4 +49,6 @@ struct nouveau_platform_device {
#define nv_device_to_platform(d) \
container_of(d, struct nouveau_platform_device, device)
+extern struct platform_driver nouveau_platform_driver;
+
#endif