From: Kirill A. Shutemov Date: Thu, 8 Mar 2012 16:09:33 +0000 (+0000) Subject: gma500: fix cdv_intel_wait_for_vblank() prototype X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=017350bcb065ba72b776b99fdf26a6ce60bf703a;p=linux-beck.git gma500: fix cdv_intel_wait_for_vblank() prototype Signed-off-by: Kirill A. Shutemov Signed-off-by: Alan Cox Signed-off-by: Dave Airlie --- diff --git a/drivers/gpu/drm/gma500/cdv_device.h b/drivers/gpu/drm/gma500/cdv_device.h index 2a88b7beb551..9561e17621b3 100644 --- a/drivers/gpu/drm/gma500/cdv_device.h +++ b/drivers/gpu/drm/gma500/cdv_device.h @@ -26,7 +26,7 @@ extern void cdv_hdmi_init(struct drm_device *dev, struct psb_intel_mode_device * extern struct drm_display_mode *cdv_intel_crtc_mode_get(struct drm_device *dev, struct drm_crtc *crtc); -extern inline void cdv_intel_wait_for_vblank(struct drm_device *dev) +static inline void cdv_intel_wait_for_vblank(struct drm_device *dev) { /* Wait for 20ms, i.e. one cycle at 50hz. */ /* FIXME: msleep ?? */