1*d82444d2SThomas Gleixner /* SPDX-License-Identifier: GPL-2.0-only */
2bf4289cbSJean-Christophe PLAGNIOL-VILLARD /*
3bf4289cbSJean-Christophe PLAGNIOL-VILLARD  * atmel platform data
4bf4289cbSJean-Christophe PLAGNIOL-VILLARD  */
5bf4289cbSJean-Christophe PLAGNIOL-VILLARD 
63d92e051SPaul Gortmaker #ifndef __ATMEL_H__
73d92e051SPaul Gortmaker #define __ATMEL_H__
8bf4289cbSJean-Christophe PLAGNIOL-VILLARD 
9bcd2360cSJean-Christophe PLAGNIOL-VILLARD /* FIXME: this needs a better location, but gets stuff building again */
10be36e000SArnd Bergmann #ifdef CONFIG_ATMEL_PM
11bcd2360cSJean-Christophe PLAGNIOL-VILLARD extern int at91_suspend_entering_slow_clock(void);
12be36e000SArnd Bergmann #else
at91_suspend_entering_slow_clock(void)13be36e000SArnd Bergmann static inline int at91_suspend_entering_slow_clock(void)
14be36e000SArnd Bergmann {
15be36e000SArnd Bergmann 	return 0;
16be36e000SArnd Bergmann }
17be36e000SArnd Bergmann #endif
18bcd2360cSJean-Christophe PLAGNIOL-VILLARD 
193d92e051SPaul Gortmaker #endif /* __ATMEL_H__ */
20