aboutsummaryrefslogtreecommitdiffstats
path: root/include/drm
diff options
context:
space:
mode:
authorVille Syrjälä <ville.syrjala@linux.intel.com>2013-04-25 13:09:20 -0400
committerDave Airlie <airlied@redhat.com>2013-04-29 20:02:25 -0400
commitea9cbb063ce7509d98febdc756e77d6b69a10b56 (patch)
tree06cef9ab6d943315d63f8122278409c7eaa57146 /include/drm
parent7d05336b0c54cd5921b748e306ee0513b620dedf (diff)
drm: Silence some sparse warnings
drivers/gpu/drm/drm_pci.c:155:5: warning: symbol 'drm_pci_set_busid' was not declared. Should it be static? drivers/gpu/drm/drm_pci.c:197:5: warning: symbol 'drm_pci_set_unique' was not declared. Should it be static? drivers/gpu/drm/drm_pci.c:269:5: warning: symbol 'drm_pci_agp_init' was not declared. Should it be static? drivers/gpu/drm/drm_crtc.c:181:1: warning: symbol 'drm_get_dirty_info_name' was not declared. Should it be static? drivers/gpu/drm/drm_crtc.c:1123:5: warning: symbol 'drm_mode_group_init' was not declared. Should it be static? drivers/gpu/drm/drm_modes.c:918:6: warning: symbol 'drm_mode_validate_clocks' was not declared. Should it be static? Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'include/drm')
-rw-r--r--include/drm/drm_crtc.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/drm/drm_crtc.h b/include/drm/drm_crtc.h
index 836438dfb331..cf474498cee0 100644
--- a/include/drm/drm_crtc.h
+++ b/include/drm/drm_crtc.h
@@ -939,6 +939,9 @@ extern void drm_mode_list_concat(struct list_head *head,
939extern void drm_mode_validate_size(struct drm_device *dev, 939extern void drm_mode_validate_size(struct drm_device *dev,
940 struct list_head *mode_list, 940 struct list_head *mode_list,
941 int maxX, int maxY, int maxPitch); 941 int maxX, int maxY, int maxPitch);
942extern void drm_mode_validate_clocks(struct drm_device *dev,
943 struct list_head *mode_list,
944 int *min, int *max, int n_ranges);
942extern void drm_mode_prune_invalid(struct drm_device *dev, 945extern void drm_mode_prune_invalid(struct drm_device *dev,
943 struct list_head *mode_list, bool verbose); 946 struct list_head *mode_list, bool verbose);
944extern void drm_mode_sort(struct list_head *mode_list); 947extern void drm_mode_sort(struct list_head *mode_list);