Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/dev/ic Fix return type of lan9118_mii_readreg



details:   https://anonhg.NetBSD.org/src/rev/581cdebb5241
branches:  trunk
changeset: 447734:581cdebb5241
user:      jmcneill <jmcneill%NetBSD.org@localhost>
date:      Tue Jan 22 15:34:04 2019 +0000

description:
Fix return type of lan9118_mii_readreg

diffstat:

 sys/dev/ic/lan9118.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 4a2a548d183e -r 581cdebb5241 sys/dev/ic/lan9118.c
--- a/sys/dev/ic/lan9118.c      Tue Jan 22 15:28:45 2019 +0000
+++ b/sys/dev/ic/lan9118.c      Tue Jan 22 15:34:04 2019 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: lan9118.c,v 1.28 2019/01/22 03:42:26 msaitoh Exp $     */
+/*     $NetBSD: lan9118.c,v 1.29 2019/01/22 15:34:04 jmcneill Exp $    */
 /*
  * Copyright (c) 2008 KIYOHARA Takashi
  * All rights reserved.
@@ -25,7 +25,7 @@
  * POSSIBILITY OF SUCH DAMAGE.
  */
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: lan9118.c,v 1.28 2019/01/22 03:42:26 msaitoh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: lan9118.c,v 1.29 2019/01/22 15:34:04 jmcneill Exp $");
 
 /*
  * The LAN9118 Family
@@ -794,7 +794,7 @@
 }
 
 
-static uint16_t
+static int
 lan9118_mii_readreg(struct lan9118_softc *sc, int phy, int reg, uint16_t *val)
 {
        uint32_t acc;



Home | Main Index | Thread Index | Old Index