diff options
author | Gabor Juhos <juhosg@openwrt.org> | 2010-07-15 13:05:16 +0000 |
---|---|---|
committer | Gabor Juhos <juhosg@openwrt.org> | 2010-07-15 13:05:16 +0000 |
commit | 6ccacc5e4f961ca89bd6cc011ef6c29ae1962efa (patch) | |
tree | 51d59fc34fa30e5ef09f2029caa877ee0c1c4baa /target/linux/generic/files/drivers/net/phy/rtl8366_smi.h | |
parent | 430322ad5503bd865116cd48121873c917251fec (diff) | |
download | upstream-6ccacc5e4f961ca89bd6cc011ef6c29ae1962efa.tar.gz upstream-6ccacc5e4f961ca89bd6cc011ef6c29ae1962efa.tar.bz2 upstream-6ccacc5e4f961ca89bd6cc011ef6c29ae1962efa.zip |
generic: rtl8366: introduce rtl8366_smi_alloc
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22195 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/generic/files/drivers/net/phy/rtl8366_smi.h')
-rw-r--r-- | target/linux/generic/files/drivers/net/phy/rtl8366_smi.h | 1 |
1 files changed, 1 insertions, 0 deletions
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 bd16cbe55e..775f95935e 100644 --- a/target/linux/generic/files/drivers/net/phy/rtl8366_smi.h +++ b/target/linux/generic/files/drivers/net/phy/rtl8366_smi.h @@ -87,6 +87,7 @@ struct rtl8366_smi_ops { int port, unsigned long long *val); }; +struct rtl8366_smi *rtl8366_smi_alloc(struct device *parent); int rtl8366_smi_init(struct rtl8366_smi *smi); void rtl8366_smi_cleanup(struct rtl8366_smi *smi); int rtl8366_smi_write_reg(struct rtl8366_smi *smi, u32 addr, u32 data); |