Skip to content

Commit 0ee897d

Browse files
AdrianBunkdavem330
authored andcommitted
[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>
1 parent 4c7966b commit 0ee897d

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

‎drivers/atm/he.c‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3000,8 +3000,7 @@ he_proc_read(struct atm_dev *dev, loff_t *pos, char *page)
30003000

30013001
/* eeprom routines -- see 4.7 */
30023002

3003-
u8
3004-
read_prom_byte(struct he_dev *he_dev, int addr)
3003+
static u8 read_prom_byte(struct he_dev *he_dev, int addr)
30053004
{
30063005
u32 val = 0, tmp_read = 0;
30073006
int i, j = 0;

0 commit comments

Comments
 (0)