From patchwork Sun Apr 12 11:17:24 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Zhenwen Xu X-Patchwork-Id: 17811 Received: from vger.kernel.org (vger.kernel.org [209.132.176.167]) by demeter.kernel.org (8.14.2/8.14.2) with ESMTP id n3CBIrK8006524 for ; Sun, 12 Apr 2009 11:18:53 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752589AbZDLLSu (ORCPT ); Sun, 12 Apr 2009 07:18:50 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753155AbZDLLSu (ORCPT ); Sun, 12 Apr 2009 07:18:50 -0400 Received: from ti-out-0910.google.com ([209.85.142.188]:15638 "EHLO ti-out-0910.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752589AbZDLLSu (ORCPT ); Sun, 12 Apr 2009 07:18:50 -0400 Received: by ti-out-0910.google.com with SMTP id i7so1374229tid.23 for ; Sun, 12 Apr 2009 04:18:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:date:from:to:subject :message-id:reply-to:mime-version:content-type:content-disposition :content-transfer-encoding:user-agent; bh=3XAkzIETLblttyxvux/TvmV6XhknpE5h2AjiBftvlAU=; b=XejQE+7oSuJFI5P8OefHjRabme0is3WOnUELZ3ff7vv45fc60O9VlDZ5MfQcTOGmu7 EZZW+F/xkPKfuEFfjLz2JJAqLkPdwO8uopVqUl4xEVoY/ekYYy+P8S7U19neT382k3kn yduErAMAPT42tjdPAIDWRPHczDKimcbCwg4B4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:to:subject:message-id:reply-to:mime-version:content-type :content-disposition:content-transfer-encoding:user-agent; b=L26/dbbnrimqShsDuBxNHdTZWMBga4WWCoDmFWOtebnSO5S0Currl0PPYVIVuKSQho DxEKDFZ9ZNBosGOKems3BnCJm8ceraxkruWdxJzb3eO7Ezl+pDXWJuzb5r3147vEYe9J XxMK+81kUAaMPsoicDcpp1MSzlmNQbMdlUaXA= Received: by 10.110.42.1 with SMTP id p1mr7452153tip.20.1239535128486; Sun, 12 Apr 2009 04:18:48 -0700 (PDT) Received: from localhost ([221.11.22.40]) by mx.google.com with ESMTPS id w5sm5726656tib.25.2009.04.12.04.18.45 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sun, 12 Apr 2009 04:18:47 -0700 (PDT) Date: Sun, 12 Apr 2009 19:17:24 +0800 From: Zhenwen Xu To: linux-pci@vger.kernel.org Subject: [PATCH]fix a warning on drivers/pci/hotplug/ibmphp_core.c Message-ID: <20090412111724.GA3574@helight> Reply-To: Zhenwen Xu MIME-Version: 1.0 Content-Disposition: inline User-Agent: Mutt/1.5.18 (2008-05-17) Sender: linux-pci-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pci@vger.kernel.org fix this warning: drivers/pci/hotplug/ibmphp_core.c:1414: warning: ‘ibmphp_exit’ defined but not used It missed the "module_exit". From bb3c7845b38dff4628fe482207790b82a3df0ab4 Mon Sep 17 00:00:00 2001 From: Zhenwen Xu Date: Sun, 12 Apr 2009 19:10:58 +0800 Subject: [PATCH] fix the warning ‘ibmphp_exit’ defined but not used MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Signed-off-by: Zhenwen Xu --- drivers/pci/hotplug/ibmphp_core.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/drivers/pci/hotplug/ibmphp_core.c b/drivers/pci/hotplug/ibmphp_core.c index dd18f85..29ccb8a 100644 --- a/drivers/pci/hotplug/ibmphp_core.c +++ b/drivers/pci/hotplug/ibmphp_core.c @@ -1419,3 +1419,4 @@ static void __exit ibmphp_exit(void) } module_init(ibmphp_init); +module_exit(ibmphp_exit);