regulator: Fix compile errors by including compiler.h in consumer.h
If the consumer.h file is included before compiler.h the build will fail with cryptic errors. They come from the __must_check directive on regulator_get()/etc. Include compiler.h to fix this. Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
This commit is contained in:
@@ -35,6 +35,8 @@
|
||||
#ifndef __LINUX_REGULATOR_CONSUMER_H_
|
||||
#define __LINUX_REGULATOR_CONSUMER_H_
|
||||
|
||||
#include <linux/compiler.h>
|
||||
|
||||
struct device;
|
||||
struct notifier_block;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user