common: Move check_member() to kernel.h
authorSimon Glass <sjg@chromium.org>
Sat, 28 Dec 2019 17:45:08 +0000 (10:45 -0700)
committerJagan Teki <jagan@amarulasolutions.com>
Fri, 24 Jan 2020 17:36:49 +0000 (23:06 +0530)
commit28de7505a73fcbf5561a3f39686f5f54d969fdfe
treeaefce3ac8a71b15c38f64815ab1792fd811051c0
parent29a4a9f1056fd4cc319c248c2e062cd91f6fa9f2
common: Move check_member() to kernel.h

The kernel.h file has a number of useful macros including a few related
to structures. Move check_member() there too.

Signed-off-by: Simon Glass <sjg@chromium.org>
include/common.h
include/linux/kernel.h