summaryrefslogtreecommitdiff
path: root/include/drm/drm_legacy.h
diff options
context:
space:
mode:
authorJani Nikula <jani.nikula@intel.com>2018-03-27 23:47:20 +0300
committerJani Nikula <jani.nikula@intel.com>2018-03-28 09:34:12 +0300
commitd1a9d710d12485710d424daaa2430fe93bc767f8 (patch)
tree45d5ab761a721c8b37596ea034d6409f8844bb9a /include/drm/drm_legacy.h
parent7056a2bccc3b5afc51f9b35b30a46f0d9219968d (diff)
downloadlinux-d1a9d710d12485710d424daaa2430fe93bc767f8.tar.xz
drm: prefer inline over __inline__
Remove last users of __inline__. Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk> Signed-off-by: Jani Nikula <jani.nikula@intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20180327204722.31246-1-jani.nikula@intel.com
Diffstat (limited to 'include/drm/drm_legacy.h')
-rw-r--r--include/drm/drm_legacy.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/drm/drm_legacy.h b/include/drm/drm_legacy.h
index cf0e7d89bcdf..8fad66f88e4f 100644
--- a/include/drm/drm_legacy.h
+++ b/include/drm/drm_legacy.h
@@ -194,8 +194,8 @@ void drm_legacy_ioremap(struct drm_local_map *map, struct drm_device *dev);
void drm_legacy_ioremap_wc(struct drm_local_map *map, struct drm_device *dev);
void drm_legacy_ioremapfree(struct drm_local_map *map, struct drm_device *dev);
-static __inline__ struct drm_local_map *drm_legacy_findmap(struct drm_device *dev,
- unsigned int token)
+static inline struct drm_local_map *drm_legacy_findmap(struct drm_device *dev,
+ unsigned int token)
{
struct drm_map_list *_entry;
list_for_each_entry(_entry, &dev->maplist, head)