Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Tue, 3 Jul 2001 14:04:38 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Tue, 3 Jul 2001 14:04:19 -0400 Received: from real.realitydiluted.com ([208.242.241.164]:64783 "EHLO real.realitydiluted.com") by vger.kernel.org with ESMTP id ; Tue, 3 Jul 2001 14:04:14 -0400 Message-ID: <3B42078E.8E6539F7@cotw.com> Date: Tue, 03 Jul 2001 12:57:34 -0500 From: "Steven J. Hill" Reply-To: sjhill@cotw.com X-Mailer: Mozilla 4.76 [en] (X11; U; Linux 2.4.4 i686) X-Accept-Language: en MIME-Version: 1.0 To: Alan Cox CC: "Adam J. Richter" , dwmw2@redhat.com, linux-kernel@vger.kernel.org, linux-mtd@lists.infradead.org, torvalds@transmeta.com Subject: Re: linux-2.4.6-pre8/drivers/mtd/nand/spia.c: undefined symbols In-Reply-To: Content-Type: multipart/mixed; boundary="------------94D7EE1425B8BCB7DFCFBFDE" Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org This is a multi-part message in MIME format. --------------94D7EE1425B8BCB7DFCFBFDE Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Alan Cox wrote: > > > The way that I architected the raw NAND flash device driver was to > > break it into 2 parts. 'nand.c' contains the actual driver code and > > is considered to be device independent. 'spia.c' is the device > > dependent part. You should write your own version of 'spia.c' and > > So the Config.in is wrong since I can select spia on x86 > Indeed. That should be fixed now with this patch. Now onto the stuff for ESR. -Steve -- Steven J. Hill - Embedded SW Engineer --------------94D7EE1425B8BCB7DFCFBFDE Content-Type: application/octet-stream; name="spia.diff" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="spia.diff" ZGlmZiAtdXJOIGxpbnV4LTIuNC42LXByZTkvZHJpdmVycy9tdGQvbmFuZC9Db25maWcuaW4g bGludXgtMi40LjYtcHJlOS1wYXRjaGVkL2RyaXZlcnMvbXRkL25hbmQvQ29uZ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ZXR1cCgic3BpYV9maW9fYmFz ZT0iLHNwaWFfZmlvX2Jhc2UpOworX19zZXR1cCgic3BpYV9wZWRyPSIsc3BpYV9wZWRyKTsK K19fc2V0dXAoInNwaWFfcGVkZHI9IixzcGlhX3BlZGRyKTsKKwogLyoKICAqIERlZmluZSBw YXJ0aXRpb25zIGZvciBmbGFzaCBkZXZpY2UKICAqLwpAQCAtNzcsMTEgKzEwOCwxMSBAQAog CSAqIFNldCBHUElPIFBvcnQgRSBjb250cm9sIHJlZ2lzdGVyIHNvIHRoYXQgdGhlIHBpbnMg YXJlIGNvbmZpZ3VyZWQKIAkgKiB0byBiZSBvdXRwdXRzIGZvciBjb250cm9sbGluZyB0aGUg TkFORCBmbGFzaC4KIAkgKi8KLQkoKih2b2xhdGlsZSB1bnNpZ25lZCBjaGFyICopIChJT19C QVNFICsgUEVERFIpKSA9IDB4MDc7CisJKCoodm9sYXRpbGUgdW5zaWduZWQgY2hhciAqKSAo c3BpYV9pb19iYXNlICsgc3BpYV9wZWRkcikpID0gMHgwNzsKIAogCS8qIFNldCBhZGRyZXNz IG9mIE5BTkQgSU8gbGluZXMgKi8KLQl0aGlzLT5JT19BRERSID0gRklPX0JBU0U7Ci0JdGhp cy0+Q1RSTF9BRERSID0gSU9fQkFTRSArIFBFRFI7CisJdGhpcy0+SU9fQUREUiA9IHNwaWFf ZmlvX2Jhc2U7CisJdGhpcy0+Q1RSTF9BRERSID0gc3BpYV9pb19iYXNlICsgc3BpYV9wZWRy OwogCXRoaXMtPkNMRSA9IDB4MDE7CiAJdGhpcy0+QUxFID0gMHgwMjsKIAl0aGlzLT5OQ0Ug PSAweDA0Owo= --------------94D7EE1425B8BCB7DFCFBFDE-- - 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/