diff options
author | Dave Airlie <airlied@starflyer.(none)> | 2005-09-05 07:33:44 -0400 |
---|---|---|
committer | Dave Airlie <airlied@linux.ie> | 2005-09-05 07:33:44 -0400 |
commit | f210973bb6d17aa220c797e8ea23d127d96859b7 (patch) | |
tree | 4ffe6f27b02eb814f7c855bfb4e5f28c8f3d6280 /drivers/char/drm/drm_sysfs.c | |
parent | 89625eb186b9b0b9454d44126f8b1bcc72ad93b7 (diff) |
drm: small cleanups
This patch contains the following small cleanups:
- make two needlessly global functions static
- drm_sysfs.c: every file should #include the header with the prototypes
of the global functions it is offering
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Dave Airlie <airlied@linux.ie>
Diffstat (limited to 'drivers/char/drm/drm_sysfs.c')
-rw-r--r-- | drivers/char/drm/drm_sysfs.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/char/drm/drm_sysfs.c b/drivers/char/drm/drm_sysfs.c index 2fc10c4bbcd..475cc5e555e 100644 --- a/drivers/char/drm/drm_sysfs.c +++ b/drivers/char/drm/drm_sysfs.c | |||
@@ -17,6 +17,7 @@ | |||
17 | #include <linux/err.h> | 17 | #include <linux/err.h> |
18 | 18 | ||
19 | #include "drm_core.h" | 19 | #include "drm_core.h" |
20 | #include "drmP.h" | ||
20 | 21 | ||
21 | struct drm_sysfs_class { | 22 | struct drm_sysfs_class { |
22 | struct class_device_attribute attr; | 23 | struct class_device_attribute attr; |