2019-06-03 08:45:01 +03:00
|
|
|
/* SPDX-License-Identifier: GPL-2.0-only */
|
2011-12-29 10:43:24 +04:00
|
|
|
/*
|
|
|
|
* atmel platform data
|
|
|
|
*/
|
|
|
|
|
2012-04-02 00:38:40 +04:00
|
|
|
#ifndef __ATMEL_H__
|
|
|
|
#define __ATMEL_H__
|
2011-12-29 10:43:24 +04:00
|
|
|
|
2012-10-30 01:12:23 +04:00
|
|
|
/* FIXME: this needs a better location, but gets stuff building again */
|
2017-06-09 13:18:02 +03:00
|
|
|
#ifdef CONFIG_ATMEL_PM
|
2012-10-30 01:12:23 +04:00
|
|
|
extern int at91_suspend_entering_slow_clock(void);
|
2017-06-09 13:18:02 +03:00
|
|
|
#else
|
|
|
|
static inline int at91_suspend_entering_slow_clock(void)
|
|
|
|
{
|
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
#endif
|
2012-10-30 01:12:23 +04:00
|
|
|
|
2012-04-02 00:38:40 +04:00
|
|
|
#endif /* __ATMEL_H__ */
|