]> git.baikalelectronics.ru Git - kernel.git/commit
drm/mm: include required headers in drm_mm.h
authorDavid Herrmann <dh.herrmann@gmail.com>
Thu, 25 Jul 2013 16:02:31 +0000 (18:02 +0200)
committerDave Airlie <airlied@redhat.com>
Thu, 1 Aug 2013 00:28:09 +0000 (10:28 +1000)
commit32f8de0f1f67d1f4f38a6b3659b0fe4cefdd8c90
treeef7be7444a1e272eab82eeb60a57cdac63e1768f
parente53c6b9e6534a6ec58117aa350e0a52976f30612
drm/mm: include required headers in drm_mm.h

We need BUG_ON(), spinlock_t and standard kernel data-types so include the
right headers.

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@intel.com>

In case it didn't link to it correctly. Somehow this bug doesn't occur
here on my machine, hmm. But I think fixing drm_mm.h is better than
changing the include-order in drm_vma_manager.h, so this is what I
did.

Signed-off-by: David Herrmann <dh.herrmann@gmail.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
include/drm/drm_mm.h