summaryrefslogtreecommitdiffstats
path: root/drivers/atm/he.c
diff options
context:
space:
mode:
authorAdrian Bunk <bunk@kernel.org>2008-04-01 04:34:44 +0200
committerDavid S. Miller <davem@davemloft.net>2008-04-01 04:34:44 +0200
commit0ee897d43e390cddcfdb2f4e39635ea7ec1ad2e9 (patch)
treedf2f48744b74109182c5e77903f9fd3b83b7bbca /drivers/atm/he.c
parent[IPV6] MCAST: Ensure to check multicast listener(s). (diff)
downloadlinux-0ee897d43e390cddcfdb2f4e39635ea7ec1ad2e9.tar.xz
linux-0ee897d43e390cddcfdb2f4e39635ea7ec1ad2e9.zip
[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 2e3395b7e8c1..ffc4a5a41946 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;