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