Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933029Ab2JZNvS (ORCPT ); Fri, 26 Oct 2012 09:51:18 -0400 Received: from mga01.intel.com ([192.55.52.88]:9276 "EHLO mga01.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932356Ab2JZNvQ (ORCPT ); Fri, 26 Oct 2012 09:51:16 -0400 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.80,654,1344236400"; d="asc'?scan'208";a="240552911" Message-ID: <1351258892.1823.20.camel@sauron.fi.intel.com> Subject: Re: [PATCH] mtd: gpmi: remove unneccessary header From: Artem Bityutskiy Reply-To: dedekind1@gmail.com To: Huang Shijie Cc: dwmw2@infradead.org, linux-kernel@vger.kernel.org, linux-mtd@lists.infradead.org Date: Fri, 26 Oct 2012 16:41:32 +0300 In-Reply-To: <1350147809-19616-1-git-send-email-shijie8@gmail.com> References: <1350147809-19616-1-git-send-email-shijie8@gmail.com> Content-Type: multipart/signed; micalg="pgp-sha1"; protocol="application/pgp-signature"; boundary="=-bNa1PO206briqUKCWgu+" X-Mailer: Evolution 3.4.4 (3.4.4-2.fc17) Mime-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 10390 Lines: 189 --=-bNa1PO206briqUKCWgu+ Content-Type: multipart/mixed; boundary="=-GEMvyQ16Ug5fEBj0iXLl" --=-GEMvyQ16Ug5fEBj0iXLl Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Sat, 2012-10-13 at 13:03 -0400, Huang Shijie wrote: > The whole gpmi-nand driver has turned to pure devicetree supported. > So the linux/mtd/gpmi-nand.h is not neccessary now. Just remove it, > and move some macros to the gpmi-nand driver itself. >=20 > Signed-off-by: Huang Shijie I cannot compile-test it because the MXS configuration file I always used for compile-testing gpmi-nand patches (attached) does not work anymore - I get the following compilation errors: /home/dedekind/git/l2-mtd/arch/arm/include/asm/processor.h:82: warning: "__= LINUX_ARM_ARCH__" is not defined /home/dedekind/git/l2-mtd/arch/arm/include/asm/processor.h:97: warning: "__= LINUX_ARM_ARCH__" is not defined In file included from include/linux/time.h:6, from include/uapi/linux/timex.h:56, from include/linux/timex.h:56, from include/linux/sched.h:17, from arch/arm/kernel/asm-offsets.c:13: include/linux/math64.h: In function 'div_u64_rem': include/linux/math64.h:55: error: '__LINUX_ARM_ARCH__' undeclared (first us= e in this function) include/linux/math64.h:55: error: (Each undeclared identifier is reported o= nly once include/linux/math64.h:55: error: for each function it appears in.) In file included from include/linux/mm_types.h:15, from include/linux/sched.h:24, from arch/arm/kernel/asm-offsets.c:13: /home/dedekind/git/l2-mtd/arch/arm/include/asm/page.h: At top level: /home/dedekind/git/l2-mtd/arch/arm/include/asm/page.h:107: error: #error Un= known user operations model In file included from include/linux/mm.h:44, from arch/arm/kernel/asm-offsets.c:14: /home/dedekind/git/l2-mtd/arch/arm/include/asm/pgtable.h:210: warning: "__L= INUX_ARM_ARCH__" is not defined In file included from include/linux/scatterlist.h:10, from include/linux/dma-mapping.h:9, from arch/arm/kernel/asm-offsets.c:15: /home/dedekind/git/l2-mtd/arch/arm/include/asm/io.h:50: warning: "__LINUX_A= RM_ARCH__" is not defined In file included from include/linux/dma-mapping.h:76, from arch/arm/kernel/asm-offsets.c:15: /home/dedekind/git/l2-mtd/arch/arm/include/asm/dma-mapping.h: In function '= dma_mapping_error': /home/dedekind/git/l2-mtd/arch/arm/include/asm/dma-mapping.h:94: error: imp= licit declaration of function 'debug_dma_mapping_error' In file included from /home/dedekind/git/l2-mtd/arch/arm/include/asm/cachef= lush.h:15, from arch/arm/kernel/asm-offsets.c:16: /home/dedekind/git/l2-mtd/arch/arm/include/asm/glue-cache.h: At top level: /home/dedekind/git/l2-mtd/arch/arm/include/asm/glue-cache.h:129: error: #er= ror Unknown cache maintenance model In file included from /home/dedekind/git/l2-mtd/arch/arm/include/asm/cachef= lush.h:17, from arch/arm/kernel/asm-offsets.c:16: /home/dedekind/git/l2-mtd/arch/arm/include/asm/cachetype.h:28: warning: "__= LINUX_ARM_ARCH__" is not defined /home/dedekind/git/l2-mtd/arch/arm/include/asm/cachetype.h:33: warning: "__= LINUX_ARM_ARCH__" is not defined In file included from arch/arm/kernel/asm-offsets.c:16: /home/dedekind/git/l2-mtd/arch/arm/include/asm/cacheflush.h:204: warning: "= __LINUX_ARM_ARCH__" is not defined /home/dedekind/git/l2-mtd/arch/arm/include/asm/cacheflush.h:206: warning: "= __LINUX_ARM_ARCH__" is not defined In file included from arch/arm/kernel/asm-offsets.c:17: /home/dedekind/git/l2-mtd/arch/arm/include/asm/glue-df.h:99: error: #error = Unknown data abort handler type In file included from arch/arm/kernel/asm-offsets.c:18: /home/dedekind/git/l2-mtd/arch/arm/include/asm/glue-pf.h:54: error: #error = Unknown prefetch abort handler type make[1]: *** [arch/arm/kernel/asm-offsets.s] Error 1 make: *** [prepare0] Error 2 --=20 Best Regards, Artem Bityutskiy --=-GEMvyQ16Ug5fEBj0iXLl Content-Disposition: attachment; filename="arm-mxs_defconfig" Content-Type: text/plain; name="arm-mxs_defconfig"; charset="UTF-8" Content-Transfer-Encoding: base64 Q09ORklHX0VYUEVSSU1FTlRBTD15DQpDT05GSUdfU1lTVklQQz15DQpDT05GSUdfTk9fSFo9eQ0K Q09ORklHX0hJR0hfUkVTX1RJTUVSUz15DQpDT05GSUdfSUtDT05GSUc9eQ0KQ09ORklHX0lLQ09O RklHX1BST0M9eQ0KIyBDT05GSUdfVVRTX05TIGlzIG5vdCBzZXQNCiMgQ09ORklHX0lQQ19OUyBp cyBub3Qgc2V0DQojIENPTkZJR19QSURfTlMgaXMgbm90IHNldA0KQ09ORklHX1BFUkZfRVZFTlRT PXkNCiMgQ09ORklHX0NPTVBBVF9CUksgaXMgbm90IHNldA0KQ09ORklHX01PRFVMRVM9eQ0KQ09O RklHX01PRFVMRV9GT1JDRV9MT0FEPXkNCkNPTkZJR19NT0RVTEVfVU5MT0FEPXkNCkNPT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9DRklfSU5URUxFWFQ9bQ0KQ09ORklHX01URF9DRklfQU1EU1RE PW0NCkNPTkZJR19NVERfQ0ZJX1NUQUE9eQ0KQ09ORklHX01URF9ST009bQ0KQ09ORklHX01URF9B QlNFTlQ9eQ0KQ09ORklHX01URF9DT01QTEVYX01BUFBJTkdTPXkNCkNPTkZJR19NVERfUEhZU01B UD1tDQpDT05GSUdfTVREX1BIWVNNQVBfQ09NUEFUPXkNCkNPTkZJR19NVERfSU1QQTc9bQ0KQ09O RklHX01URF9HUElPX0FERFI9eQ0KQ09ORklHX01URF9QTEFUUkFNPXkNCkNPTkZJR19NVERfTEFU Q0hfQUREUj15DQpDT05GSUdfTVREX0RBVEFGTEFTSD1tDQpDT05GSUdfTVREX0RBVEFGTEFTSF9P VFA9eQ0KQ09ORklHX01URF9NMjVQODA9bQ0KIyBDT05GSUdfTTI1UFhYX1VTRV9GQVNUX1JFQUQg aXMgbm90IHNldA0KQ09ORklHX01URF9TU1QyNUw9bQ0KQ09ORklHX01URF9TTFJBTT15DQpDT05G SUdfTVREX1BIUkFNPXkNCkNPTkZJR19NVERfTVREUkFNPXkNCkNPTkZJR19NVERfQkxPQ0syTVRE PXkNCkNPTkZJR19NVERfRE9DMjAwMD1tDQpDT05GSUdfTVREX0RPQzIwMDE9bQ0KQ09ORklHX01U RF9ET0MyMDAxUExVUz1tDQpDT05GSUdfTVREX0RPQ0czPXkNCkNPTkZJR19NVERfTkFORF9FQ0Nf U01DPXkNCkNPTkZJR19NVERfTkFORD15DQpDT05GSUdfTVREX05BTkRfRUNDX0JDSD15DQpDT05G SUdfTVREX05BTkRfTVVTRVVNX0lEUz15DQpDT05GSUdfTVREX05BTkRfR1BJTz15DQpDT05GSUdf TVREX05BTkRfRElTS09OQ0hJUD15DQpDT05GSUdfTVREX05BTkRfRElTS09OQ0hJUF9QUk9CRV9B RFZBTkNFRD15DQpDT05GSUdfTVREX05BTkRfRElTS09OQ0hJUF9QUk9CRV9ISUdIPXkNCkNPTkZJ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ature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) iQIcBAABAgAGBQJQipMMAAoJECmIfjd9wqK03SUP/ifJXbraLELZRfds9rGO3n/4 Rl2hJePIrUXCt3ODfJBa6KAD/M81Ev8BuuaVzonys349c07tj7JE22hYOBR1HMjY E+dLbR6RBhCeUwKgLjctVZzfYZSFz5vZk7UZKvAqLQKKPQRiBF76ONZDKEVzhgO8 o3VxD+JOsYR4opx+CTw4LVFYxgVzcMgPY3dCDUxeG6PfWxppDs3TFjNVj2OUnyMC ZTFERzRFF45xzW24XxUFOYEZ3wai0o3+MOCoAbBsUgsBDN3U3h47wWAoEqs/lO1t aCmvnAi5AJpLGWoABMHzgHmafHT0DgNw7Vtq3BeRuuhZC3CHEzDHdcLrQTP5n6Vt 7ye9Z0ZKXYdYV03yy9XWeQtrtwofntMPIM6gfHtbS+blFzvIIQWnYBsBUh/c0+LW Hp3ZzTyElJoDVVFPVmHR9IcaSNOGMKxkd1t6ddkoSUoVFEtL++t8ynjRnxEAi+RK WToUSPTbsf0WATJocWb4yNOY3eJoLeKivmsO260geDVJfdy67I+SEtZn6Q8vq7Jd puo0WBWMtzBH4VmSix1SClV7/jCwlGsI7awvapSitWqN6cmgqc3NQy+Ao7O5xP0/ OGeC/5MezUCXeLikUHfKFYRS/2kCygM3kGIVSbODjXUfeFWaA1/U2AduiAfLAQG0 dYkCN5xoZThMTqwXUVR7 =Erdb -----END PGP SIGNATURE----- --=-bNa1PO206briqUKCWgu+-- -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/