From: Andreas Bofjäll Date: Wed, 12 Feb 2014 08:34:18 +0000 (+0100) Subject: tipc: explicitly include core.h in addr.h X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=b3f0f5c357e60b7a366d2c8d739b47452451868b;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git tipc: explicitly include core.h in addr.h The inline functions in addr.h uses tipc_own_addr which is exported by core.h, but addr.h never actually includes it. It works because it is explicitly included where this is used, but it looks a bit strange. Include core.h in addr.h explicitly to make the dependency clearer. Signed-off-by: Andreas Bofjäll Reviewed-by: Jon Maloy Signed-off-by: David S. Miller --- diff --git a/net/tipc/addr.h b/net/tipc/addr.h index 60b00ab93d74..a74acf9ee804 100644 --- a/net/tipc/addr.h +++ b/net/tipc/addr.h @@ -37,6 +37,8 @@ #ifndef _TIPC_ADDR_H #define _TIPC_ADDR_H +#include "core.h" + #define TIPC_ZONE_MASK 0xff000000u #define TIPC_CLUSTER_MASK 0xfffff000u