Commit cb363304 authored by Jani Nikula's avatar Jani Nikula
parent fa03cc2e
...@@ -14,6 +14,7 @@ header_test := \ ...@@ -14,6 +14,7 @@ header_test := \
i915_reg.h \ i915_reg.h \
i915_scheduler_types.h \ i915_scheduler_types.h \
i915_timeline_types.h \ i915_timeline_types.h \
i915_utils.h \
intel_acpi.h \ intel_acpi.h \
intel_atomic.h \ intel_atomic.h \
intel_atomic_plane.h \ intel_atomic_plane.h \
......
...@@ -25,6 +25,10 @@ ...@@ -25,6 +25,10 @@
#ifndef __I915_UTILS_H #ifndef __I915_UTILS_H
#define __I915_UTILS_H #define __I915_UTILS_H
#include <linux/list.h>
#include <linux/types.h>
#include <linux/workqueue.h>
#undef WARN_ON #undef WARN_ON
/* Many gcc seem to no see through this and fall over :( */ /* Many gcc seem to no see through this and fall over :( */
#if 0 #if 0
...@@ -152,8 +156,6 @@ static inline u64 ptr_to_u64(const void *ptr) ...@@ -152,8 +156,6 @@ static inline u64 ptr_to_u64(const void *ptr)
__idx; \ __idx; \
}) })
#include <linux/list.h>
static inline void __list_del_many(struct list_head *head, static inline void __list_del_many(struct list_head *head,
struct list_head *first) struct list_head *first)
{ {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment