Include Linux headers before driver's own headers. Signed-off-by: Aaro Koskinen <aaro.koskinen@xxxxxx> --- drivers/staging/xgifb/vb_init.c | 3 +-- drivers/staging/xgifb/vb_util.c | 5 +++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/staging/xgifb/vb_init.c b/drivers/staging/xgifb/vb_init.c index 262992e..c7fd406 100644 --- a/drivers/staging/xgifb/vb_init.c +++ b/drivers/staging/xgifb/vb_init.c @@ -1,7 +1,6 @@ -#include "vgatypes.h" - #include <linux/types.h> #include <linux/delay.h> /* udelay */ +#include "vgatypes.h" #include "XGIfb.h" #include "vb_def.h" diff --git a/drivers/staging/xgifb/vb_util.c b/drivers/staging/xgifb/vb_util.c index ea2b795..b5c9989 100644 --- a/drivers/staging/xgifb/vb_util.c +++ b/drivers/staging/xgifb/vb_util.c @@ -1,10 +1,11 @@ +#include <linux/io.h> +#include <linux/types.h> + #include "vb_def.h" #include "vgatypes.h" #include "vb_struct.h" #include "XGIfb.h" -#include <linux/io.h> -#include <linux/types.h> #include "vb_util.h" -- 1.7.2.5 _______________________________________________ devel mailing list devel@xxxxxxxxxxxxxxxxxxxxxx http://driverdev.linuxdriverproject.org/mailman/listinfo/devel