From patchwork Sun Apr 12 11:19:25 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Zhenwen Xu X-Patchwork-Id: 17812 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 n3CBKpJF006657 for ; Sun, 12 Apr 2009 11:20:51 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756714AbZDLLUu (ORCPT ); Sun, 12 Apr 2009 07:20:50 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1754952AbZDLLUu (ORCPT ); Sun, 12 Apr 2009 07:20:50 -0400 Received: from ti-out-0910.google.com ([209.85.142.184]:16486 "EHLO ti-out-0910.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752589AbZDLLUt (ORCPT ); Sun, 12 Apr 2009 07:20:49 -0400 Received: by ti-out-0910.google.com with SMTP id i7so1374478tid.23 for ; Sun, 12 Apr 2009 04:20:47 -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:cc:subject :message-id:reply-to:mime-version:content-type:content-disposition :content-transfer-encoding:user-agent; bh=77Xw6ZtZB59UxHRKcymAHbvrzIVK52ZtutpDVtu/fGg=; b=YuPbLXh3EAJG9x8hhK63zdZqgAJT6EKxfSi02GtMxFmBHpoxHcd4K5HdVUpYbYOJDp Z6nrJV1WmsH3xlhuizxzg9QMXTN/TWtHVja//P1AMbTIKWUj9NlGNGWzM4U01Nm3v+Dh 2xULUWgR2oBP+KjStW3wlPwQvOOCSQn7zhc1A= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:to:cc:subject:message-id:reply-to:mime-version :content-type:content-disposition:content-transfer-encoding :user-agent; b=XJDiFbouzk8h03lh/GaJddc1MjLDfc1yPnfmGW856zjCesTxW6auVJgC+YFcNkFnv3 BUqTj/hWYuttyhY1XikhRMwZxFRJIxBVMGsm+aJ8uhDooIIa20wiTuhTr40RJGP4JEE3 bTjOBdwc8RTROgKc/iqxdFVfoLXiolyyHqEek= Received: by 10.110.52.5 with SMTP id z5mr9137tiz.44.1239535247406; Sun, 12 Apr 2009 04:20:47 -0700 (PDT) Received: from localhost ([221.11.22.40]) by mx.google.com with ESMTPS id 22sm5649572tim.24.2009.04.12.04.20.45 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sun, 12 Apr 2009 04:20:46 -0700 (PDT) Date: Sun, 12 Apr 2009 19:19:25 +0800 From: Zhenwen Xu To: linux-pci@vger.kernel.org Cc: linux-kernel@vger.kernel.org Subject: [PATCH]fix a warning on drivers/pci/hotplug/ibmphp_core.c Message-ID: <20090412111925.GB3574@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);