reset_source: provide static inline function if disabled
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
This commit is contained in:
parent
797bc5d911
commit
90e9f773c1
|
@ -22,6 +22,12 @@ enum reset_src_type {
|
|||
RESET_JTAG, /* JTAG reset */
|
||||
};
|
||||
|
||||
#ifdef CONFIG_RESET_SOURCE
|
||||
void set_reset_source(enum reset_src_type);
|
||||
#else
|
||||
static inline void set_reset_source(enum reset_src_type unused)
|
||||
{
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* __INCLUDE_RESET_SOURCE_H */
|
||||
|
|
Loading…
Reference in New Issue