提交 ced55d4e 编写于 作者: P Paul Gortmaker

regulator: Fix implicit use of notifier.h by driver.h

This was implicitly appearing by way of module.h -- but when
we fix that, we'll get this:

In file included from drivers/regulator/dummy.c:21:
include/linux/regulator/driver.h:197: error: field 'notifier' has incomplete type
make[3]: *** [drivers/regulator/dummy.o] Error 1
Signed-off-by: NPaul Gortmaker <paul.gortmaker@windriver.com>
上级 65602c32
......@@ -16,6 +16,7 @@
#define __LINUX_REGULATOR_DRIVER_H_
#include <linux/device.h>
#include <linux/notifier.h>
#include <linux/regulator/consumer.h>
struct regulator_dev;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册