1 // SPDX-License-Identifier: GPL-2.0
2 #include <linux/stddef.h>
3 #include <linux/kbuild.h>
4 #include "pm.h"
5
main(void)6 int main(void)
7 {
8 DEFINE(PM_DATA_PMC, offsetof(struct at91_pm_data, pmc));
9 DEFINE(PM_DATA_RAMC0, offsetof(struct at91_pm_data, ramc[0]));
10 DEFINE(PM_DATA_RAMC1, offsetof(struct at91_pm_data, ramc[1]));
11 DEFINE(PM_DATA_RAMC_PHY, offsetof(struct at91_pm_data,
12 ramc_phy));
13 DEFINE(PM_DATA_MEMCTRL, offsetof(struct at91_pm_data, memctrl));
14 DEFINE(PM_DATA_MODE, offsetof(struct at91_pm_data, mode));
15 DEFINE(PM_DATA_SHDWC, offsetof(struct at91_pm_data, shdwc));
16 DEFINE(PM_DATA_SFRBU, offsetof(struct at91_pm_data, sfrbu));
17 DEFINE(PM_DATA_PMC_MCKR_OFFSET, offsetof(struct at91_pm_data,
18 pmc_mckr_offset));
19 DEFINE(PM_DATA_PMC_VERSION, offsetof(struct at91_pm_data,
20 pmc_version));
21
22 return 0;
23 }
24