diff options
author | Lespiau, Damien <damien.lespiau@intel.com> | 2013-08-19 19:53:10 -0400 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2013-08-20 22:47:56 -0400 |
commit | 66cc8b6b8b2b3b5c9a67429af04ec356ff7fcfa4 (patch) | |
tree | b036153a1a0457c93b3a7b98a92c8ec6c6c6182b /include/drm | |
parent | 15f3b9d95bf2c85afcf11e7536c17eaeedfcefe7 (diff) |
drm: Make drm_get_platform_dev() static
It's only used in drm_platform.c.
Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'include/drm')
-rw-r--r-- | include/drm/drmP.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/include/drm/drmP.h b/include/drm/drmP.h index 046a7db43a6c..1a7a78fdb4b7 100644 --- a/include/drm/drmP.h +++ b/include/drm/drmP.h | |||
@@ -1657,9 +1657,6 @@ extern int drm_pcie_get_speed_cap_mask(struct drm_device *dev, u32 *speed_mask); | |||
1657 | extern int drm_platform_init(struct drm_driver *driver, struct platform_device *platform_device); | 1657 | extern int drm_platform_init(struct drm_driver *driver, struct platform_device *platform_device); |
1658 | extern void drm_platform_exit(struct drm_driver *driver, struct platform_device *platform_device); | 1658 | extern void drm_platform_exit(struct drm_driver *driver, struct platform_device *platform_device); |
1659 | 1659 | ||
1660 | extern int drm_get_platform_dev(struct platform_device *pdev, | ||
1661 | struct drm_driver *driver); | ||
1662 | |||
1663 | /* returns true if currently okay to sleep */ | 1660 | /* returns true if currently okay to sleep */ |
1664 | static __inline__ bool drm_can_sleep(void) | 1661 | static __inline__ bool drm_can_sleep(void) |
1665 | { | 1662 | { |