From: David Herrmann Date: Fri, 29 Aug 2014 10:12:37 +0000 (+0200) Subject: drm: order includes alphabetically in drmP.h X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=969939087da7aca386ff166a1c67ee9707215feb;p=linux-beck.git drm: order includes alphabetically in drmP.h It is hardly possible to review the drmP.h includes, anymore. Order them alphabetically, linux/ first, then asm/ and then local drm/ includes. Since a long time ago, kernel headers have been converted to include required headers themselves. No-one cares whether that means the compiler has to include a header multiple times. In fact, GCC already does some optimization regarding multiple inclusions if a sorrounding #ifndef is present. Signed-off-by: David Herrmann Acked-by: Thierry Reding Signed-off-by: Dave Airlie --- diff --git a/include/drm/drmP.h b/include/drm/drmP.h index c6f337c54d9f..8b3f3b7dc2f2 100644 --- a/include/drm/drmP.h +++ b/include/drm/drmP.h @@ -35,38 +35,42 @@ #ifndef _DRM_P_H_ #define _DRM_P_H_ -#include -#include -#include -#include +#include +#include +#include +#include #include +#include +#include #include -#include -#include -#include +#include #include -#include +#include +#include +#include #include -#include #include -#include -#include +#include +#include +#include #include -#include -#include +#include +#include #include -#include -#include -#include -#include #include +#include + +#include #include +#include + #include +#include +#include +#include #include #include -#include - struct module; struct drm_file; @@ -77,10 +81,6 @@ struct device_node; struct videomode; struct reservation_object; -#include -#include -#include - /* * 4 debug categories are defined: *