summaryrefslogtreecommitdiffstats
path: root/drivers/staging/rtl8192u/r8180_93cx6.h
diff options
context:
space:
mode:
authorSalah Triki <salah.triki@acm.org>2016-05-04 04:42:41 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2016-06-18 19:49:02 -0700
commit6ceb65b83771ec860478061479ba54b7093c2ee2 (patch)
tree46319379211c196ef787b9b8ee88d01861852804 /drivers/staging/rtl8192u/r8180_93cx6.h
parent2fe9262e7e024b089d6f1962fe1fa06b383d2991 (diff)
downloadlinux-stable-6ceb65b83771ec860478061479ba54b7093c2ee2.tar.gz
linux-stable-6ceb65b83771ec860478061479ba54b7093c2ee2.tar.bz2
linux-stable-6ceb65b83771ec860478061479ba54b7093c2ee2.zip
staging: rtl8192u: propagate errors in eprom_read
Propagate error from eprom_r and change the return type of eprom_read from u32 to int. Signed-off-by: Salah Triki <salah.triki@acm.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/rtl8192u/r8180_93cx6.h')
-rw-r--r--drivers/staging/rtl8192u/r8180_93cx6.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/rtl8192u/r8180_93cx6.h b/drivers/staging/rtl8192u/r8180_93cx6.h
index b840348eb5e3..9cf7f587c3ab 100644
--- a/drivers/staging/rtl8192u/r8180_93cx6.h
+++ b/drivers/staging/rtl8192u/r8180_93cx6.h
@@ -40,4 +40,4 @@
#define EPROM_TXPW1 0x3d
-u32 eprom_read(struct net_device *dev, u32 addr); /* reads a 16 bits word */
+int eprom_read(struct net_device *dev, u32 addr); /* reads a 16 bits word */