commit | 47968b11583fb225287764306cdbe9e08cf56d1b | [log] [tgz] |
---|---|---|
author | Paul Sokolovsky <paul.sokolovsky@linaro.org> | Thu Oct 06 11:12:12 2011 +0100 |
committer | Andy Green <andy.green@linaro.org> | Thu Oct 06 11:12:12 2011 +0100 |
tree | 7c9c371ec17f851a2e0c771285e60d3a048130db | |
parent | 64194b2809a726c2c9532ef6fc6218701520741b [diff] |
DRM: solve __linux__ missing on some toolchains An ifdef in drm.h expects to be compiled with full-fledged Linux toolchain, but it's common to compile kernel with just bare-metal toolchain which doesn't define __linux__. So, also add __KERNEL__ check. Signed-off-by: Paul Sokolovsky <paul.sokolovsky@linaro.org>