Received: by 10.192.165.156 with SMTP id m28csp238144imm; Thu, 12 Apr 2018 21:00:08 -0700 (PDT) X-Google-Smtp-Source: AIpwx4+RXT9tCoFfJQQy1PtGS3VAeVVmT4PG7s1L5sTE5oHCkSUCodqoGIjf03ytV9ifEsVVhYy9 X-Received: by 2002:a17:902:9046:: with SMTP id w6-v6mr3707905plz.393.1523592008821; Thu, 12 Apr 2018 21:00:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1523592008; cv=none; d=google.com; s=arc-20160816; b=iMrgj31aHwt2d8/pdSxV4N2vWsM6BcSPwRWVfNSgU/WBkeayeHnJCVgFJPNgDa0ssM A35ShQsXj8AeyuDamIGVHSfxSGzZ/Dd3aoqZu1pTvz/3qPlAZXmB09AkocNsy+XbFMAI UzH6wRWLDcmUK4vgtGuZoojObIM7T/RUB+AhQ4DU5Gr+dSrMulFMiv5Boh9z76zGsofB lqmgV9s25cvJzB2JBFq86mN5JEvfbyoQACQaugh8ZWDV3tiuPtMxe12G0n7b2wR0AGhb F1b15yTMJvKUYwBFYv/rGrE0YIP8Zh7BFTIfn3Dj+b8beP2+17S/bCPxeo33wkYFu7ta OyrA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :references:in-reply-to:mime-version:dkim-signature:dkim-filter :arc-authentication-results; bh=LrhE4bEGp2WPWsPV7weQfp7pNz1xUuPyEAeSjXEuGIk=; b=hrYStC5whmwtpL7hFn7s95Ruo8m5CQHX6wZCX/MB1sSJ8cGQmXdMvRUAbRS50zIQ20 +UKCLoMdrZPc+hIAo1stCOtWcmtIthszPzJ6mpMrqkH9qk+/Sof6bT0sBrZ68KxgQciJ rcmg4LvDIOoKXAqQ7MJms9gk9Rw7EazvXN7oYcEPEAyGJc67z7TGD59v1AMBGD6O54Q0 rCZvzUseuvycdWqLZxYiLIF1xeib7pSEsTkDpiNfISamXwNpVf3NaRYjGa6z+DB7WzFJ QczIgd+NOHsLdyamgSKlB3dqdjuH6jd7TUver1+4l0pFcbQPJjQzJvY1S2uy6yqPeM7Q 9Few== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=d5rtxGuR; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id t15si3834307pfa.170.2018.04.12.20.59.54; Thu, 12 Apr 2018 21:00:08 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=d5rtxGuR; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753415AbeDMDZ2 (ORCPT + 99 others); Thu, 12 Apr 2018 23:25:28 -0400 Received: from conssluserg-01.nifty.com ([210.131.2.80]:56515 "EHLO conssluserg-01.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752137AbeDMDZ0 (ORCPT ); Thu, 12 Apr 2018 23:25:26 -0400 Received: from mail-ua0-f182.google.com (mail-ua0-f182.google.com [209.85.217.182]) (authenticated) by conssluserg-01.nifty.com with ESMTP id w3D3PGGd009381; Fri, 13 Apr 2018 12:25:17 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conssluserg-01.nifty.com w3D3PGGd009381 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1523589917; bh=LrhE4bEGp2WPWsPV7weQfp7pNz1xUuPyEAeSjXEuGIk=; h=In-Reply-To:References:From:Date:Subject:To:Cc:From; b=d5rtxGuRN64R8EqxYUSvmeFGGhpkOtSfqd21ypJe1SgkMC9B/uBm6n1P1ap9SpW/l LbO/F8k9UBlnAw6UuFCT8/Li98JnFRVLtQsNn9mivMaVJMfrxgXJwTSg2K8YXBKvHi bqNLF1IU4Tz/mLTmi0IKzIY+9oE+hn9Ajo/NTFpgp5Vf1bO8NiO5LvI4pQAAhnv/cO a6cWrIOOJdj+CLBaZX0bQIGwMPCsD/ViRNZDeFs3JshP0FidOV9n/PO37PMdkPX8Jx fQqgDYZewEFM25xrkMgbxPCoYUCeJv5FNAQ464e3BwAUPkWIZDPBEb6wFMLV9KhW6e cks5tvuO6fvfA== X-Nifty-SrcIP: [209.85.217.182] Received: by mail-ua0-f182.google.com with SMTP id q26so4915934uab.0; Thu, 12 Apr 2018 20:25:17 -0700 (PDT) X-Gm-Message-State: ALQs6tAVDq+glOGP4wCJFwJUjAH/b4ZHPnVzv7vJ5jLUbLjcqWzg1kXw +LdnhA+ecRLPj3EkjqVYUsmhn5hmtIy4glbpd8w= X-Received: by 10.176.48.232 with SMTP id d8mr2597552uam.141.1523589915834; Thu, 12 Apr 2018 20:25:15 -0700 (PDT) MIME-Version: 1.0 Received: by 10.176.29.150 with HTTP; Thu, 12 Apr 2018 20:24:35 -0700 (PDT) In-Reply-To: <20180413025856.19969-1-d-gerlach@ti.com> References: <20180413025856.19969-1-d-gerlach@ti.com> From: Masahiro Yamada Date: Fri, 13 Apr 2018 12:24:35 +0900 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v2] ARM: omap2: Fix build when using split object directories To: Dave Gerlach Cc: Linux Kernel Mailing List , Tony Lindgren , Russell King - ARM Linux , Santosh Shilimkar , linux-arm-kernel , Linux-OMAP , Linux Kbuild mailing list , Anders Roxell , Michal Marek Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 2018-04-13 11:58 GMT+09:00 Dave Gerlach : > The sleep33xx and sleep43xx files should not depend on a header file > generated in drivers/memory. Remove this dependency and instead allow > both drivers/memory and arch/arm/mach-omap2 to generate all macros > needed in headers local to their own paths. > > This fixes an issue where the build fail will when using O= to set a > split object directory and arch/arm/mach-omap2 is built before > drivers/memory with the following error: > > .../drivers/memory/emif-asm-offsets.c:1:0: fatal error: can't open drivers/memory/emif-asm-offsets.s for writing: No such file or directory > compilation terminated. > > Fixes: 41d9d44d7258 ("ARM: OMAP2+: pm33xx-core: Add platform code needed for PM") > Acked-by: Tony Lindgren > Reviewed-by: Masahiro Yamada > Tested-by: Anders Roxell > Signed-off-by: Dave Gerlach > --- > v1 -> v2: > * Removed drivers/memory/Makefile.asm-offsets and consolidated into > drivers/memory/Makefile. I did not mean like this. I thought this clean-up would be done in a separate patch. I think your previous patch is OK as-is. > arch/arm/mach-omap2/Makefile | 6 +-- > arch/arm/mach-omap2/pm-asm-offsets.c | 3 ++ > arch/arm/mach-omap2/sleep33xx.S | 1 - > arch/arm/mach-omap2/sleep43xx.S | 1 - > drivers/memory/Makefile | 8 +++- > drivers/memory/Makefile.asm-offsets | 5 --- > drivers/memory/emif-asm-offsets.c | 72 +--------------------------------- > include/linux/ti-emif-sram.h | 75 ++++++++++++++++++++++++++++++++++++ > 8 files changed, 86 insertions(+), 85 deletions(-) > delete mode 100644 drivers/memory/Makefile.asm-offsets > > diff --git a/arch/arm/mach-omap2/Makefile b/arch/arm/mach-omap2/Makefile > index 4603c30fef73..0d9ce58bc464 100644 > --- a/arch/arm/mach-omap2/Makefile > +++ b/arch/arm/mach-omap2/Makefile > @@ -243,8 +243,4 @@ arch/arm/mach-omap2/pm-asm-offsets.s: arch/arm/mach-omap2/pm-asm-offsets.c > include/generated/ti-pm-asm-offsets.h: arch/arm/mach-omap2/pm-asm-offsets.s FORCE > $(call filechk,offsets,__TI_PM_ASM_OFFSETS_H__) > > -# For rule to generate ti-emif-asm-offsets.h dependency > -include drivers/memory/Makefile.asm-offsets > - > -arch/arm/mach-omap2/sleep33xx.o: include/generated/ti-pm-asm-offsets.h include/generated/ti-emif-asm-offsets.h > -arch/arm/mach-omap2/sleep43xx.o: include/generated/ti-pm-asm-offsets.h include/generated/ti-emif-asm-offsets.h > +$(obj)/sleep33xx.o $(obj)/sleep43xx.o: include/generated/ti-pm-asm-offsets.h > diff --git a/arch/arm/mach-omap2/pm-asm-offsets.c b/arch/arm/mach-omap2/pm-asm-offsets.c > index 6d4392da7c11..b9846b19e5e2 100644 > --- a/arch/arm/mach-omap2/pm-asm-offsets.c > +++ b/arch/arm/mach-omap2/pm-asm-offsets.c > @@ -7,9 +7,12 @@ > > #include > #include > +#include > > int main(void) > { > + ti_emif_asm_offsets(); > + > DEFINE(AMX3_PM_WFI_FLAGS_OFFSET, > offsetof(struct am33xx_pm_sram_data, wfi_flags)); > DEFINE(AMX3_PM_L2_AUX_CTRL_VAL_OFFSET, > diff --git a/arch/arm/mach-omap2/sleep33xx.S b/arch/arm/mach-omap2/sleep33xx.S > index 218d79930b04..322b3bb868b4 100644 > --- a/arch/arm/mach-omap2/sleep33xx.S > +++ b/arch/arm/mach-omap2/sleep33xx.S > @@ -6,7 +6,6 @@ > * Dave Gerlach, Vaibhav Bedia > */ > > -#include > #include > #include > #include > diff --git a/arch/arm/mach-omap2/sleep43xx.S b/arch/arm/mach-omap2/sleep43xx.S > index b24be624e8b9..8903814a6677 100644 > --- a/arch/arm/mach-omap2/sleep43xx.S > +++ b/arch/arm/mach-omap2/sleep43xx.S > @@ -6,7 +6,6 @@ > * Dave Gerlach, Vaibhav Bedia > */ > > -#include > #include > #include > #include > diff --git a/drivers/memory/Makefile b/drivers/memory/Makefile > index 66f55240830e..b3b95380346f 100644 > --- a/drivers/memory/Makefile > +++ b/drivers/memory/Makefile > @@ -28,6 +28,10 @@ ti-emif-sram-objs := ti-emif-pm.o ti-emif-sram-pm.o > > AFLAGS_ti-emif-sram-pm.o :=-Wa,-march=armv7-a > > -include drivers/memory/Makefile.asm-offsets > +drivers/memory/emif-asm-offsets.s: drivers/memory/emif-asm-offsets.c > + $(call if_changed_dep,cc_s_c) > > -drivers/memory/ti-emif-sram-pm.o: include/generated/ti-emif-asm-offsets.h > +include/generated/ti-emif-asm-offsets.h: drivers/memory/emif-asm-offsets.s FORCE > + $(call filechk,offsets,__TI_EMIF_ASM_OFFSETS_H__) > + > +$(obj)/ti-emif-sram-pm.o: include/generated/ti-emif-asm-offsets.h > diff --git a/drivers/memory/Makefile.asm-offsets b/drivers/memory/Makefile.asm-offsets > deleted file mode 100644 > index 843ff60ccb5a..000000000000 > --- a/drivers/memory/Makefile.asm-offsets > +++ /dev/null > @@ -1,5 +0,0 @@ > -drivers/memory/emif-asm-offsets.s: drivers/memory/emif-asm-offsets.c > - $(call if_changed_dep,cc_s_c) > - > -include/generated/ti-emif-asm-offsets.h: drivers/memory/emif-asm-offsets.s FORCE > - $(call filechk,offsets,__TI_EMIF_ASM_OFFSETS_H__) > diff --git a/drivers/memory/emif-asm-offsets.c b/drivers/memory/emif-asm-offsets.c > index 71a89d5d3efd..db8043019ec6 100644 > --- a/drivers/memory/emif-asm-offsets.c > +++ b/drivers/memory/emif-asm-offsets.c > @@ -16,77 +16,7 @@ > > int main(void) > { > - DEFINE(EMIF_SDCFG_VAL_OFFSET, > - offsetof(struct emif_regs_amx3, emif_sdcfg_val)); > - DEFINE(EMIF_TIMING1_VAL_OFFSET, > - offsetof(struct emif_regs_amx3, emif_timing1_val)); > - DEFINE(EMIF_TIMING2_VAL_OFFSET, > - offsetof(struct emif_regs_amx3, emif_timing2_val)); > - DEFINE(EMIF_TIMING3_VAL_OFFSET, > - offsetof(struct emif_regs_amx3, emif_timing3_val)); > - DEFINE(EMIF_REF_CTRL_VAL_OFFSET, > - offsetof(struct emif_regs_amx3, emif_ref_ctrl_val)); > - DEFINE(EMIF_ZQCFG_VAL_OFFSET, > - offsetof(struct emif_regs_amx3, emif_zqcfg_val)); > - DEFINE(EMIF_PMCR_VAL_OFFSET, > - offsetof(struct emif_regs_amx3, emif_pmcr_val)); > - DEFINE(EMIF_PMCR_SHDW_VAL_OFFSET, > - offsetof(struct emif_regs_amx3, emif_pmcr_shdw_val)); > - DEFINE(EMIF_RD_WR_LEVEL_RAMP_CTRL_OFFSET, > - offsetof(struct emif_regs_amx3, emif_rd_wr_level_ramp_ctrl)); > - DEFINE(EMIF_RD_WR_EXEC_THRESH_OFFSET, > - offsetof(struct emif_regs_amx3, emif_rd_wr_exec_thresh)); > - DEFINE(EMIF_COS_CONFIG_OFFSET, > - offsetof(struct emif_regs_amx3, emif_cos_config)); > - DEFINE(EMIF_PRIORITY_TO_COS_MAPPING_OFFSET, > - offsetof(struct emif_regs_amx3, emif_priority_to_cos_mapping)); > - DEFINE(EMIF_CONNECT_ID_SERV_1_MAP_OFFSET, > - offsetof(struct emif_regs_amx3, emif_connect_id_serv_1_map)); > - DEFINE(EMIF_CONNECT_ID_SERV_2_MAP_OFFSET, > - offsetof(struct emif_regs_amx3, emif_connect_id_serv_2_map)); > - DEFINE(EMIF_OCP_CONFIG_VAL_OFFSET, > - offsetof(struct emif_regs_amx3, emif_ocp_config_val)); > - DEFINE(EMIF_LPDDR2_NVM_TIM_OFFSET, > - offsetof(struct emif_regs_amx3, emif_lpddr2_nvm_tim)); > - DEFINE(EMIF_LPDDR2_NVM_TIM_SHDW_OFFSET, > - offsetof(struct emif_regs_amx3, emif_lpddr2_nvm_tim_shdw)); > - DEFINE(EMIF_DLL_CALIB_CTRL_VAL_OFFSET, > - offsetof(struct emif_regs_amx3, emif_dll_calib_ctrl_val)); > - DEFINE(EMIF_DLL_CALIB_CTRL_VAL_SHDW_OFFSET, > - offsetof(struct emif_regs_amx3, emif_dll_calib_ctrl_val_shdw)); > - DEFINE(EMIF_DDR_PHY_CTLR_1_OFFSET, > - offsetof(struct emif_regs_amx3, emif_ddr_phy_ctlr_1)); > - DEFINE(EMIF_EXT_PHY_CTRL_VALS_OFFSET, > - offsetof(struct emif_regs_amx3, emif_ext_phy_ctrl_vals)); > - DEFINE(EMIF_REGS_AMX3_SIZE, sizeof(struct emif_regs_amx3)); > - > - BLANK(); > - > - DEFINE(EMIF_PM_BASE_ADDR_VIRT_OFFSET, > - offsetof(struct ti_emif_pm_data, ti_emif_base_addr_virt)); > - DEFINE(EMIF_PM_BASE_ADDR_PHYS_OFFSET, > - offsetof(struct ti_emif_pm_data, ti_emif_base_addr_phys)); > - DEFINE(EMIF_PM_CONFIG_OFFSET, > - offsetof(struct ti_emif_pm_data, ti_emif_sram_config)); > - DEFINE(EMIF_PM_REGS_VIRT_OFFSET, > - offsetof(struct ti_emif_pm_data, regs_virt)); > - DEFINE(EMIF_PM_REGS_PHYS_OFFSET, > - offsetof(struct ti_emif_pm_data, regs_phys)); > - DEFINE(EMIF_PM_DATA_SIZE, sizeof(struct ti_emif_pm_data)); > - > - BLANK(); > - > - DEFINE(EMIF_PM_SAVE_CONTEXT_OFFSET, > - offsetof(struct ti_emif_pm_functions, save_context)); > - DEFINE(EMIF_PM_RESTORE_CONTEXT_OFFSET, > - offsetof(struct ti_emif_pm_functions, restore_context)); > - DEFINE(EMIF_PM_ENTER_SR_OFFSET, > - offsetof(struct ti_emif_pm_functions, enter_sr)); > - DEFINE(EMIF_PM_EXIT_SR_OFFSET, > - offsetof(struct ti_emif_pm_functions, exit_sr)); > - DEFINE(EMIF_PM_ABORT_SR_OFFSET, > - offsetof(struct ti_emif_pm_functions, abort_sr)); > - DEFINE(EMIF_PM_FUNCTIONS_SIZE, sizeof(struct ti_emif_pm_functions)); > + ti_emif_asm_offsets(); > > return 0; > } > diff --git a/include/linux/ti-emif-sram.h b/include/linux/ti-emif-sram.h > index 45bc6b376492..53604b087f2c 100644 > --- a/include/linux/ti-emif-sram.h > +++ b/include/linux/ti-emif-sram.h > @@ -60,6 +60,81 @@ struct ti_emif_pm_functions { > u32 abort_sr; > } __packed __aligned(8); > > +static inline void ti_emif_asm_offsets(void) > +{ > + DEFINE(EMIF_SDCFG_VAL_OFFSET, > + offsetof(struct emif_regs_amx3, emif_sdcfg_val)); > + DEFINE(EMIF_TIMING1_VAL_OFFSET, > + offsetof(struct emif_regs_amx3, emif_timing1_val)); > + DEFINE(EMIF_TIMING2_VAL_OFFSET, > + offsetof(struct emif_regs_amx3, emif_timing2_val)); > + DEFINE(EMIF_TIMING3_VAL_OFFSET, > + offsetof(struct emif_regs_amx3, emif_timing3_val)); > + DEFINE(EMIF_REF_CTRL_VAL_OFFSET, > + offsetof(struct emif_regs_amx3, emif_ref_ctrl_val)); > + DEFINE(EMIF_ZQCFG_VAL_OFFSET, > + offsetof(struct emif_regs_amx3, emif_zqcfg_val)); > + DEFINE(EMIF_PMCR_VAL_OFFSET, > + offsetof(struct emif_regs_amx3, emif_pmcr_val)); > + DEFINE(EMIF_PMCR_SHDW_VAL_OFFSET, > + offsetof(struct emif_regs_amx3, emif_pmcr_shdw_val)); > + DEFINE(EMIF_RD_WR_LEVEL_RAMP_CTRL_OFFSET, > + offsetof(struct emif_regs_amx3, emif_rd_wr_level_ramp_ctrl)); > + DEFINE(EMIF_RD_WR_EXEC_THRESH_OFFSET, > + offsetof(struct emif_regs_amx3, emif_rd_wr_exec_thresh)); > + DEFINE(EMIF_COS_CONFIG_OFFSET, > + offsetof(struct emif_regs_amx3, emif_cos_config)); > + DEFINE(EMIF_PRIORITY_TO_COS_MAPPING_OFFSET, > + offsetof(struct emif_regs_amx3, emif_priority_to_cos_mapping)); > + DEFINE(EMIF_CONNECT_ID_SERV_1_MAP_OFFSET, > + offsetof(struct emif_regs_amx3, emif_connect_id_serv_1_map)); > + DEFINE(EMIF_CONNECT_ID_SERV_2_MAP_OFFSET, > + offsetof(struct emif_regs_amx3, emif_connect_id_serv_2_map)); > + DEFINE(EMIF_OCP_CONFIG_VAL_OFFSET, > + offsetof(struct emif_regs_amx3, emif_ocp_config_val)); > + DEFINE(EMIF_LPDDR2_NVM_TIM_OFFSET, > + offsetof(struct emif_regs_amx3, emif_lpddr2_nvm_tim)); > + DEFINE(EMIF_LPDDR2_NVM_TIM_SHDW_OFFSET, > + offsetof(struct emif_regs_amx3, emif_lpddr2_nvm_tim_shdw)); > + DEFINE(EMIF_DLL_CALIB_CTRL_VAL_OFFSET, > + offsetof(struct emif_regs_amx3, emif_dll_calib_ctrl_val)); > + DEFINE(EMIF_DLL_CALIB_CTRL_VAL_SHDW_OFFSET, > + offsetof(struct emif_regs_amx3, emif_dll_calib_ctrl_val_shdw)); > + DEFINE(EMIF_DDR_PHY_CTLR_1_OFFSET, > + offsetof(struct emif_regs_amx3, emif_ddr_phy_ctlr_1)); > + DEFINE(EMIF_EXT_PHY_CTRL_VALS_OFFSET, > + offsetof(struct emif_regs_amx3, emif_ext_phy_ctrl_vals)); > + DEFINE(EMIF_REGS_AMX3_SIZE, sizeof(struct emif_regs_amx3)); > + > + BLANK(); > + > + DEFINE(EMIF_PM_BASE_ADDR_VIRT_OFFSET, > + offsetof(struct ti_emif_pm_data, ti_emif_base_addr_virt)); > + DEFINE(EMIF_PM_BASE_ADDR_PHYS_OFFSET, > + offsetof(struct ti_emif_pm_data, ti_emif_base_addr_phys)); > + DEFINE(EMIF_PM_CONFIG_OFFSET, > + offsetof(struct ti_emif_pm_data, ti_emif_sram_config)); > + DEFINE(EMIF_PM_REGS_VIRT_OFFSET, > + offsetof(struct ti_emif_pm_data, regs_virt)); > + DEFINE(EMIF_PM_REGS_PHYS_OFFSET, > + offsetof(struct ti_emif_pm_data, regs_phys)); > + DEFINE(EMIF_PM_DATA_SIZE, sizeof(struct ti_emif_pm_data)); > + > + BLANK(); > + > + DEFINE(EMIF_PM_SAVE_CONTEXT_OFFSET, > + offsetof(struct ti_emif_pm_functions, save_context)); > + DEFINE(EMIF_PM_RESTORE_CONTEXT_OFFSET, > + offsetof(struct ti_emif_pm_functions, restore_context)); > + DEFINE(EMIF_PM_ENTER_SR_OFFSET, > + offsetof(struct ti_emif_pm_functions, enter_sr)); > + DEFINE(EMIF_PM_EXIT_SR_OFFSET, > + offsetof(struct ti_emif_pm_functions, exit_sr)); > + DEFINE(EMIF_PM_ABORT_SR_OFFSET, > + offsetof(struct ti_emif_pm_functions, abort_sr)); > + DEFINE(EMIF_PM_FUNCTIONS_SIZE, sizeof(struct ti_emif_pm_functions)); > +} > + > struct gen_pool; > > int ti_emif_copy_pm_function_table(struct gen_pool *sram_pool, void *dst); > -- > 2.16.1 > > -- > To unsubscribe from this list: send the line "unsubscribe linux-kbuild" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html -- Best Regards Masahiro Yamada