summaryrefslogtreecommitdiffstats
path: root/drivers/atm/he.c
diff options
context:
space:
mode:
authorAdrian Bunk <bunk@kernel.org>2008-03-31 19:34:44 -0700
committerDavid S. Miller <davem@davemloft.net>2008-03-31 19:34:44 -0700
commit0ee897d43e390cddcfdb2f4e39635ea7ec1ad2e9 (patch)
treedf2f48744b74109182c5e77903f9fd3b83b7bbca /drivers/atm/he.c
parent4c7966b86b910d6d4869aba1d7417d053ac9682c (diff)
downloadop-kernel-dev-0ee897d43e390cddcfdb2f4e39635ea7ec1ad2e9.zip
op-kernel-dev-0ee897d43e390cddcfdb2f4e39635ea7ec1ad2e9.tar.gz
[ATM]: Make atm/he.c:read_prom_byte() static
This patch makes the needlessly global read_prom_byte() static. Signed-off-by: Adrian Bunk <bunk@kernel.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/atm/he.c')
-rw-r--r--drivers/atm/he.c3
1 files changed, 1 insertions, 2 deletions
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;
OpenPOWER on IntegriCloud