projects
/
openwrt
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
generic: rtl8366: use common rtl8366_mib_counter structure
[openwrt/openwrt.git]
/
target
/
linux
/
generic
/
files
/
drivers
/
net
/
phy
/
rtl8366_smi.h
diff --git
a/target/linux/generic/files/drivers/net/phy/rtl8366_smi.h
b/target/linux/generic/files/drivers/net/phy/rtl8366_smi.h
index 32388759662f2ddb90328a021bd011a8c1615dae..f1701a54a4aa331363cff555a8168f72810ee43a 100644
(file)
--- a/
target/linux/generic/files/drivers/net/phy/rtl8366_smi.h
+++ b/
target/linux/generic/files/drivers/net/phy/rtl8366_smi.h
@@
-20,6
+20,13
@@
struct dentry;
struct inode;
struct file;
+struct rtl8366_mib_counter {
+ unsigned base;
+ unsigned offset;
+ unsigned length;
+ const char *name;
+};
+
struct rtl8366_smi {
struct device *parent;
unsigned int gpio_sda;