1 #include <linux/stddef.h> 2 #include <linux/kbuild.h> 3 #include "pm.h" 4 5 int main(void) 6 { 7 DEFINE(PM_DATA_PMC, offsetof(struct at91_pm_data, pmc)); 8 DEFINE(PM_DATA_RAMC0, offsetof(struct at91_pm_data, ramc[0])); 9 DEFINE(PM_DATA_RAMC1, offsetof(struct at91_pm_data, ramc[1])); 10 DEFINE(PM_DATA_MEMCTRL, offsetof(struct at91_pm_data, memctrl)); 11 DEFINE(PM_DATA_MODE, offsetof(struct at91_pm_data, mode)); 12 return 0; 13 } 14