OSDN Git Service

rhashtable: add missing import <linux/export.h>
authorHauke Mehrtens <hauke@hauke-m.de>
Sat, 6 Jun 2015 20:07:23 +0000 (22:07 +0200)
committerDavid S. Miller <davem@davemloft.net>
Sun, 7 Jun 2015 07:10:15 +0000 (00:10 -0700)
rhashtable uses EXPORT_SYMBOL_GPL() without importing linux/export.h
directly it is only imported indirectly through some other includes.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
lib/rhashtable.c

index 4396434..8609378 100644 (file)
@@ -26,6 +26,7 @@
 #include <linux/random.h>
 #include <linux/rhashtable.h>
 #include <linux/err.h>
+#include <linux/export.h>
 
 #define HASH_DEFAULT_SIZE      64UL
 #define HASH_MIN_SIZE          4U