Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755943AbYC3XMf (ORCPT ); Sun, 30 Mar 2008 19:12:35 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751626AbYC3XMY (ORCPT ); Sun, 30 Mar 2008 19:12:24 -0400 Received: from smtp4.pp.htv.fi ([213.243.153.38]:54766 "EHLO smtp4.pp.htv.fi" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751309AbYC3XMX (ORCPT ); Sun, 30 Mar 2008 19:12:23 -0400 Date: Mon, 31 Mar 2008 02:11:55 +0300 From: Adrian Bunk To: chas@cmf.nrl.navy.mil, jgarzik@pobox.com Cc: netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [2.6 patch] make atm/he.c:read_prom_byte() static Message-ID: <20080330231155.GZ28445@cs181133002.pp.htv.fi> 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: 858 Lines: 30 This patch makes the needlessly global read_prom_byte() static. Signed-off-by: Adrian Bunk --- This patch has been sent on: - 1 Mar 2008 64b0e035ca2ddec5daca8c9b56a5586c7bdd7f82 foobar diff --git a/drivers/atm/he.c b/drivers/atm/he.c index 2e3395b..ffc4a5a 100644 --- a/drivers/atm/he.c +++ b/drivers/atm/he.c @@ -3000,8 +3000,7 @@ he_proc_read(struct atm_dev *dev, loff_t *pos, char *page) /* eeprom routines -- see 4.7 */ -u8 -read_prom_byte(struct he_dev *he_dev, int addr) +static u8 read_prom_byte(struct he_dev *he_dev, int addr) { u32 val = 0, tmp_read = 0; int i, j = 0; -- 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/