blob: f2d893c03cd94889855d1339017e680466a1b3a3 [file] [log] [blame]
Greg Kroah-Hartmanb2441312017-11-01 15:07:57 +01001// SPDX-License-Identifier: GPL-2.0
Alexandre Belloni65cc1a52017-01-31 18:12:57 +01002#include <linux/stddef.h>
3#include <linux/kbuild.h>
4#include "pm.h"
5
6int 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_MEMCTRL, offsetof(struct at91_pm_data, memctrl));
12 DEFINE(PM_DATA_MODE, offsetof(struct at91_pm_data, mode));
Alexandre Belloni24a0f5c2016-09-27 12:29:50 +020013 DEFINE(PM_DATA_SHDWC, offsetof(struct at91_pm_data, shdwc));
14 DEFINE(PM_DATA_SFRBU, offsetof(struct at91_pm_data, sfrbu));
15
Alexandre Belloni65cc1a52017-01-31 18:12:57 +010016 return 0;
17}