]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commitdiff
of/unittest: Remove unnecessary module.h header inclusion
authorJavier Martinez Canillas <javier@osg.samsung.com>
Wed, 11 May 2016 20:26:18 +0000 (16:26 -0400)
committerRob Herring <robh@kernel.org>
Thu, 19 May 2016 14:16:36 +0000 (09:16 -0500)
The OF_UNITTEST Kconfig symbol is bool so this unittest can only be
built-in and not build as a module. Also, nothing defined in this
header file used so is not necessary to include it.

Signed-off-by: Javier Martinez Canillas <javier@osg.samsung.com>
Signed-off-by: Rob Herring <robh@kernel.org>
drivers/of/unittest.c

index 8c0f11c3153c5ac76b0ff0e461a55d439b6be4b3..3802be10d726b982445562200c8ab42a6d19c665 100644 (file)
@@ -8,7 +8,6 @@
 #include <linux/err.h>
 #include <linux/errno.h>
 #include <linux/hashtable.h>
-#include <linux/module.h>
 #include <linux/of.h>
 #include <linux/of_fdt.h>
 #include <linux/of_irq.h>