diff options
Diffstat (limited to 'include/linux/platform_data/atmel.h')
-rw-r--r-- | include/linux/platform_data/atmel.h | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/include/linux/platform_data/atmel.h b/include/linux/platform_data/atmel.h new file mode 100644 index 000000000..73f63be50 --- /dev/null +++ b/include/linux/platform_data/atmel.h @@ -0,0 +1,19 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ +/* + * atmel platform data + */ + +#ifndef __ATMEL_H__ +#define __ATMEL_H__ + +/* FIXME: this needs a better location, but gets stuff building again */ +#ifdef CONFIG_ATMEL_PM +extern int at91_suspend_entering_slow_clock(void); +#else +static inline int at91_suspend_entering_slow_clock(void) +{ + return 0; +} +#endif + +#endif /* __ATMEL_H__ */ |