From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753393Ab2A3Smu (ORCPT ); Mon, 30 Jan 2012 13:42:50 -0500 Received: from oproxy6-pub.bluehost.com ([67.222.54.6]:54309 "HELO oproxy6-pub.bluehost.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S1752216Ab2A3Sms (ORCPT ); Mon, 30 Jan 2012 13:42:48 -0500 Message-ID: <4F26F242.1060903@xenotime.net> Date: Mon, 30 Jan 2012 11:40:50 -0800 From: Randy Dunlap Organization: YPO4 User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.15) Gecko/20110323 Thunderbird/3.1.9 MIME-Version: 1.0 To: Stephen Rothwell CC: linux-next@vger.kernel.org, LKML , Hiroshi Miura , Dave Jones , cpufreq@vger.kernel.org Subject: [PATCH -next] cpufreq: fix gx-suspmod.c build References: <20120130144102.8d202c7d8eccd503a86b3053@canb.auug.org.au> In-Reply-To: <20120130144102.8d202c7d8eccd503a86b3053@canb.auug.org.au> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Identified-User: {1807:box742.bluehost.com:xenotime:xenotime.net} {sentby:smtp auth 50.53.38.135 authed with rdunlap@xenotime.net} Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Randy Dunlap Fix build error & warnings: drivers/cpufreq/gx-suspmod.c:175:35: error: macro "MODULE_DEVICE_TABLE" requires 2 arguments, but only 1 given drivers/cpufreq/gx-suspmod.c:175:1: warning: data definition has no type or storage class drivers/cpufreq/gx-suspmod.c:175:1: warning: type defaults to 'int' in declaration of 'MODULE_DEVICE_TABLE' Signed-off-by: Randy Dunlap Cc: Hiroshi Miura Cc: Dave Jones Cc: cpufreq@vger.kernel.org --- drivers/cpufreq/gx-suspmod.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- linux-next-20120130.orig/drivers/cpufreq/gx-suspmod.c +++ linux-next-20120130/drivers/cpufreq/gx-suspmod.c @@ -172,7 +172,7 @@ static struct pci_device_id gx_chipset_t { PCI_VDEVICE(CYRIX, PCI_DEVICE_ID_CYRIX_5510), }, { 0, }, }; -MODULE_DEVICE_TABLE(gx_chipset_tbl); +MODULE_DEVICE_TABLE(x86cpu, gx_chipset_tbl); static void gx_write_byte(int reg, int value) {