Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932986AbYA3UNj (ORCPT ); Wed, 30 Jan 2008 15:13:39 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1762895AbYA3UDC (ORCPT ); Wed, 30 Jan 2008 15:03:02 -0500 Received: from smtp5.pp.htv.fi ([213.243.153.39]:37656 "EHLO smtp5.pp.htv.fi" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1759152AbYA3UDA (ORCPT ); Wed, 30 Jan 2008 15:03:00 -0500 Date: Wed, 30 Jan 2008 22:03:34 +0200 From: Adrian Bunk To: Jeff Garzik Cc: netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [2.6 patch] net/sunbmac.c section fix Message-ID: <20080130200334.GM29368@does.not.exist> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline User-Agent: Mutt/1.5.17+20080114 (2008-01-14) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1046 Lines: 33 This patch fixes the following section mismatch: <-- snip --> ... WARNING: drivers/net/sunbmac.o(.devinit.text+0x24): Section mismatch in reference from the function bigmac_sbus_probe() to the function .init.text:bigmac_ether_init() ... <-- snip --> Signed-off-by: Adrian Bunk --- c4238b1ec3c23ec9dbe8b4da932cfd381ef0f376 diff --git a/drivers/net/sunbmac.c b/drivers/net/sunbmac.c index fe3ac6f..0e4a88d 100644 --- a/drivers/net/sunbmac.c +++ b/drivers/net/sunbmac.c @@ -1075,7 +1075,7 @@ static const struct ethtool_ops bigmac_ethtool_ops = { .get_link = bigmac_get_link, }; -static int __init bigmac_ether_init(struct sbus_dev *qec_sdev) +static int __devinit bigmac_ether_init(struct sbus_dev *qec_sdev) { struct net_device *dev; static int version_printed; -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/