Commit f9a03eae authored by Peng Li's avatar Peng Li Committed by David S. Miller

net: pci200syn: add blank line after declarations

This patch fixes the checkpatch error about missing a blank line
after declarations.
Signed-off-by: default avatarPeng Li <lipeng321@huawei.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent bbcb2840
...@@ -92,6 +92,7 @@ typedef struct card_s { ...@@ -92,6 +92,7 @@ typedef struct card_s {
static inline void new_memcpy_toio(char __iomem *dest, char *src, int length) static inline void new_memcpy_toio(char __iomem *dest, char *src, int length)
{ {
int len; int len;
do { do {
len = length > 256 ? 256 : length; len = length > 256 ? 256 : length;
memcpy_toio(dest, src, len); memcpy_toio(dest, src, len);
...@@ -148,8 +149,8 @@ static void pci200_set_iface(port_t *port) ...@@ -148,8 +149,8 @@ static void pci200_set_iface(port_t *port)
static int pci200_open(struct net_device *dev) static int pci200_open(struct net_device *dev)
{ {
port_t *port = dev_to_port(dev); port_t *port = dev_to_port(dev);
int result = hdlc_open(dev); int result = hdlc_open(dev);
if (result) if (result)
return result; return result;
...@@ -366,6 +367,7 @@ static int pci200_pci_init_one(struct pci_dev *pdev, ...@@ -366,6 +367,7 @@ static int pci200_pci_init_one(struct pci_dev *pdev,
port_t *port = &card->ports[i]; port_t *port = &card->ports[i];
struct net_device *dev = port->netdev; struct net_device *dev = port->netdev;
hdlc_device *hdlc = dev_to_hdlc(dev); hdlc_device *hdlc = dev_to_hdlc(dev);
port->chan = i; port->chan = i;
spin_lock_init(&port->lock); spin_lock_init(&port->lock);
......
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