[PATCH] drm/mm: include required headers in drm_mm.h

2013-07-25 Thread David Herrmann
This was meant as response to: Subject: [drm-intel:drm-intel-nightly 154/166] include/drm/drm_mm.h:67:2: error: unknown type name 'spinlock_t' Message-ID: <51f14693.g5HGdcuw2v3m8FOd%fengguang.wu at intel.com> In case it didn't link to it correctly. Somehow this bug doesn't occur here on my machi

[PATCH] drm/mm: include required headers in drm_mm.h

2013-07-25 Thread David Herrmann
We need BUG_ON(), spinlock_t and standard kernel data-types so include the right headers. Signed-off-by: David Herrmann --- include/drm/drm_mm.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/drm/drm_mm.h b/include/drm/drm_mm.h index a30c9aa..d3f0aa1 100644 --- a/include/drm/drm_

Re: [PATCH] drm/mm: include required headers in drm_mm.h

2013-07-25 Thread David Herrmann
This was meant as response to: Subject: [drm-intel:drm-intel-nightly 154/166] include/drm/drm_mm.h:67:2: error: unknown type name 'spinlock_t' Message-ID: <51f14693.g5hgdcuw2v3m8fod%fengguang...@intel.com> In case it didn't link to it correctly. Somehow this bug doesn't occur here on my machine,

[PATCH] drm/mm: include required headers in drm_mm.h

2013-07-25 Thread David Herrmann
We need BUG_ON(), spinlock_t and standard kernel data-types so include the right headers. Signed-off-by: David Herrmann --- include/drm/drm_mm.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/drm/drm_mm.h b/include/drm/drm_mm.h index a30c9aa..d3f0aa1 100644 --- a/include/drm/drm_