diff options
author | Thierry Reding <treding@nvidia.com> | 2014-10-13 12:45:57 +0200 |
---|---|---|
committer | Thierry Reding <treding@nvidia.com> | 2014-11-13 10:43:51 +0100 |
commit | 2f7633125a1ca8a03b63bf91b5eca60551141ddb (patch) | |
tree | a934e0d359e32e73a1d957714969d11631a4c6b5 /include/drm | |
parent | drm: Implement drm_get_pci_dev() dummy for !PCI (diff) | |
download | linux-2f7633125a1ca8a03b63bf91b5eca60551141ddb.tar.xz linux-2f7633125a1ca8a03b63bf91b5eca60551141ddb.zip |
drm: Make drm_mode_create_tv_properties() signature consistent
The prototype and the function implementation differ in their signature.
Make them consistent and use an unsigned integer for the number of modes
while at it.
Signed-off-by: Thierry Reding <treding@nvidia.com>
Diffstat (limited to 'include/drm')
-rw-r--r-- | include/drm/drm_crtc.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/include/drm/drm_crtc.h b/include/drm/drm_crtc.h index ce0dd6c2d73d..48255076d1bd 100644 --- a/include/drm/drm_crtc.h +++ b/include/drm/drm_crtc.h @@ -1041,8 +1041,9 @@ extern void drm_property_destroy(struct drm_device *dev, struct drm_property *pr extern int drm_property_add_enum(struct drm_property *property, int index, uint64_t value, const char *name); extern int drm_mode_create_dvi_i_properties(struct drm_device *dev); -extern int drm_mode_create_tv_properties(struct drm_device *dev, int num_formats, - char *formats[]); +extern int drm_mode_create_tv_properties(struct drm_device *dev, + unsigned int num_modes, + char *modes[]); extern int drm_mode_create_scaling_mode_property(struct drm_device *dev); extern int drm_mode_create_aspect_ratio_property(struct drm_device *dev); extern int drm_mode_create_dirty_info_property(struct drm_device *dev); |