Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Fri, 27 Oct 2000 18:42:19 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Fri, 27 Oct 2000 18:42:10 -0400 Received: from boss.staszic.waw.pl ([195.205.163.66]:56581 "EHLO boss.staszic.waw.pl") by vger.kernel.org with ESMTP id ; Fri, 27 Oct 2000 18:42:05 -0400 Date: Sat, 28 Oct 2000 00:45:03 +0200 (CEST) From: Bartlomiej Zolnierkiewicz To: linux-kernel@vger.kernel.org cc: torvalds@transmeta.com, andre@linux-ide.org Subject: [PATCH] add __init to some IDE drivers Message-ID: MIME-Version: 1.0 Content-Type: MULTIPART/MIXED; BOUNDARY="8323328-1151541092-972686703=:9440" Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. Send mail to mime@docserver.cac.washington.edu for more info. --8323328-1151541092-972686703=:9440 Content-Type: TEXT/PLAIN; charset=US-ASCII for 240t10p6, should be safe, please apply -- Bartlomiej Zolnierkiewicz --8323328-1151541092-972686703=:9440 Content-Type: TEXT/PLAIN; charset=US-ASCII; name="240t10p6-ide_init.diff" Content-Transfer-Encoding: BASE64 Content-ID: Content-Description: Content-Disposition: attachment; filename="240t10p6-ide_init.diff" ZGlmZiAtdU5yIGxpbnV4LTI0MHQxMHA2L2RyaXZlcnMvaWRlL2FsaW0xNXgz LmMgbGludXgvZHJpdmVycy9pZGUvYWxpbTE1eDMuYw0KLS0tIGxpbnV4LTI0 MHQxMHA2L2RyaXZlcnMvaWRlL2FsaW0xNXgzLmMJVGh1IE9jdCAxOSAyMjow NTowMSAyMDAwDQorKysgbGludXgvZHJpdmVycy9pZGUvYWxpbTE1eDMuYwlG cmkgT2N0IDI3IDIzOjQwOjI0IDIwMDANCkBAIC02OTEsNyArNjkxLDcgQEAN CiAJfQ0KIH0NCiANCi12b2lkIGlkZV9kbWFjYXBhY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SBPY3QgMjcgMjM6NDE6MDEgMjAwMA0K QEAgLTYxMSw3ICs2MTEsNyBAQA0KICAqIFdlIGFsbG93IHRoZSBCTS1ETUEg ZHJpdmVyIG9ubHkgd29yayBvbiBlbmFibGVkIGludGVyZmFjZXMuDQogICov DQogDQotdm9pZCBpZGVfZG1hY2FwYWJsZV92aWE4MmN4eHgoaWRlX2h3aWZf dCAqaHdpZiwgdW5zaWduZWQgbG9uZyBkbWFiYXNlKQ0KK3ZvaWQgX19pbml0 IGlkZV9kbWFjYXBhYmxlX3ZpYTgyY3h4eChpZGVfaHdpZl90ICpod2lmLCB1 bnNpZ25lZCBsb25nIGRtYWJhc2UpDQogew0KIAlpZiAoKHZpYV9lbmFibGVk ID4+IGh3aWYtPmNoYW5uZWwpICYgMSkNCiAJCWlkZV9zZXR1cF9kbWEoaHdp ZiwgZG1hYmFzZSwgOCk7DQo= --8323328-1151541092-972686703=:9440-- - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org Please read the FAQ at http://www.tux.org/lkml/