diff options
author | Tapasweni Pathak <tapaswenipathak@gmail.com> | 2014-09-24 11:04:56 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-09-29 02:41:23 (GMT) |
commit | 02a29d2d9209ad24258432057886a5af5816c388 (patch) | |
tree | 2089e3910525819397c58795aa4a9c9239acd950 /drivers/staging/rtl8712/rtl8712_io.c | |
parent | be075eb6ffdca8aedbfef3f8867e330e5ee5f534 (diff) | |
download | linux-02a29d2d9209ad24258432057886a5af5816c388.tar.xz |
staging: rtl8712: add new line after declarations
This patch fixes checkpatch.pl warning in hal_init.c file
WARNING : Missing a blank line after declarations
Signed-off-by: Tapasweni Pathak <tapaswenipathak@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/rtl8712/rtl8712_io.c')
-rw-r--r-- | drivers/staging/rtl8712/rtl8712_io.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/staging/rtl8712/rtl8712_io.c b/drivers/staging/rtl8712/rtl8712_io.c index c84aeb9..921fcff 100644 --- a/drivers/staging/rtl8712/rtl8712_io.c +++ b/drivers/staging/rtl8712/rtl8712_io.c @@ -78,8 +78,8 @@ void r8712_write16(struct _adapter *adapter, u32 addr, u16 val) { struct io_queue *pio_queue = (struct io_queue *)adapter->pio_queue; struct intf_hdl *pintfhdl = &(pio_queue->intf); - void (*_write16)(struct intf_hdl *pintfhdl, u32 addr, u16 val); + _write16 = pintfhdl->io_ops._write16; _write16(pintfhdl, addr, val); } @@ -90,6 +90,7 @@ void r8712_write32(struct _adapter *adapter, u32 addr, u32 val) struct intf_hdl *pintfhdl = (struct intf_hdl *)(&(pio_queue->intf)); void (*_write32)(struct intf_hdl *pintfhdl, u32 addr, u32 val); + _write32 = pintfhdl->io_ops._write32; _write32(pintfhdl, addr, val); } |