From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.lixom.net (lixom.net [66.141.50.11]) by ozlabs.org (Postfix) with ESMTP id 7C4D9DDDFE for ; Sun, 2 Dec 2007 14:55:31 +1100 (EST) Date: Sat, 1 Dec 2007 21:59:09 -0600 From: Olof Johansson To: Anton Vorontsov Subject: Re: [PATCH 2/3] [libata] pata_of_platform: OF-Platform PATA device driver Message-ID: <20071202035909.GB3116@lixom.net> References: <20071127153708.GA12490@localhost.localdomain> <20071127153908.GB14183@localhost.localdomain> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii In-Reply-To: <20071127153908.GB14183@localhost.localdomain> Cc: linuxppc-dev@ozlabs.org, linux-ide@vger.kernel.org List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Tue, Nov 27, 2007 at 06:39:08PM +0300, Anton Vorontsov wrote: > +static struct of_device_id pata_of_platform_match[] = { > + { .compatible = "pata-platform", }, > +}; On top of previous comment about the compatible string being inappropriate: You should add a MODULE_DEVICE_TABLE() entry for this. Dave Woodhouse pointed out it's needed for autoloading modules (i.e. by the fedora installer, etc). -Olof