Commit c3ccb334 authored by Larry Finger's avatar Larry Finger Committed by John W. Linville

rtlwifi: Remove raw read/write routines from header

Now that the driver no longer uses the raw r/w routines, remove their definitions.
Signed-off-by: default avatarLarry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
parent 886e14b6
...@@ -212,7 +212,6 @@ struct mp_adapter { ...@@ -212,7 +212,6 @@ struct mp_adapter {
u16 pcibridge_vendorid; u16 pcibridge_vendorid;
u16 pcibridge_deviceid; u16 pcibridge_deviceid;
u32 pcicfg_addrport;
u8 num4bytes; u8 num4bytes;
u8 pcibridge_pciehdr_offset; u8 pcibridge_pciehdr_offset;
...@@ -273,29 +272,4 @@ static inline void pci_write32_async(struct rtl_priv *rtlpriv, ...@@ -273,29 +272,4 @@ static inline void pci_write32_async(struct rtl_priv *rtlpriv,
writel(val, (u8 __iomem *) rtlpriv->io.pci_mem_start + addr); writel(val, (u8 __iomem *) rtlpriv->io.pci_mem_start + addr);
} }
static inline void rtl_pci_raw_write_port_ulong(u32 port, u32 val)
{
outl(val, port);
}
static inline void rtl_pci_raw_write_port_uchar(u32 port, u8 val)
{
outb(val, port);
}
static inline void rtl_pci_raw_read_port_uchar(u32 port, u8 *pval)
{
*pval = inb(port);
}
static inline void rtl_pci_raw_read_port_ushort(u32 port, u16 *pval)
{
*pval = inw(port);
}
static inline void rtl_pci_raw_read_port_ulong(u32 port, u32 *pval)
{
*pval = inl(port);
}
#endif #endif
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment