From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from kroah.org ([198.145.64.141] helo=coco.kroah.org) by bombadil.infradead.org with esmtps (Exim 4.69 #1 (Red Hat Linux)) id 1OFbrn-0003K2-O4 for linux-mtd@lists.infradead.org; Fri, 21 May 2010 23:43:00 +0000 Date: Fri, 21 May 2010 16:42:32 -0700 From: Greg KH To: H Hartley Sweeten Subject: Re: [PATCH] pcm551.c: use pci_ids.h defines Message-ID: <20100521234232.GA31672@kroah.com> References: <0D753D10438DA54287A00B0270842697636F3238A0@AUSP01VMBX24.collaborationhost.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <0D753D10438DA54287A00B0270842697636F3238A0@AUSP01VMBX24.collaborationhost.net> Cc: "linux-pci@vger.kernel.org" , David Woodhouse , linux-mtd , "linux-kernel@vger.kernel.org" , "jbarnes@virtuousgeek.org" List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Fri, May 21, 2010 at 06:24:01PM -0500, H Hartley Sweeten wrote: > Move the DEVICE id to pci_ids.h and then use the VENDOR/DEVICE ids provided > in pci_ids.h instead of creating local ids. Did you read the comment at the top of the pci_ids.h file saying not to do this? Just use the vendor id that is already in the pci_ids.h file in the driver, but leave the device id in the driver itself. thanks, greg k-h From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754317Ab0EUXmy (ORCPT ); Fri, 21 May 2010 19:42:54 -0400 Received: from kroah.org ([198.145.64.141]:44034 "EHLO coco.kroah.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751920Ab0EUXmw (ORCPT ); Fri, 21 May 2010 19:42:52 -0400 Date: Fri, 21 May 2010 16:42:32 -0700 From: Greg KH To: H Hartley Sweeten Cc: "linux-kernel@vger.kernel.org" , linux-mtd , "linux-pci@vger.kernel.org" , David Woodhouse , "jbarnes@virtuousgeek.org" Subject: Re: [PATCH] pcm551.c: use pci_ids.h defines Message-ID: <20100521234232.GA31672@kroah.com> References: <0D753D10438DA54287A00B0270842697636F3238A0@AUSP01VMBX24.collaborationhost.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <0D753D10438DA54287A00B0270842697636F3238A0@AUSP01VMBX24.collaborationhost.net> User-Agent: Mutt/1.5.20 (2009-06-14) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, May 21, 2010 at 06:24:01PM -0500, H Hartley Sweeten wrote: > Move the DEVICE id to pci_ids.h and then use the VENDOR/DEVICE ids provided > in pci_ids.h instead of creating local ids. Did you read the comment at the top of the pci_ids.h file saying not to do this? Just use the vendor id that is already in the pci_ids.h file in the driver, but leave the device id in the driver itself. thanks, greg k-h