atheros: spaces fixes
Add missed spaces and remove odd space as suggested by checkpatch. Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com> SVN-Revision: 41091
This commit is contained in:
parent
dd31da467f
commit
0bca3f9547
9 changed files with 66 additions and 63 deletions
|
@ -213,7 +213,7 @@
|
|||
+ radio_config = 0;
|
||||
+ }
|
||||
+
|
||||
+ return (u8 *) radio_config;
|
||||
+ return radio_config;
|
||||
+}
|
||||
+
|
||||
+int __init
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
+obj-$(CONFIG_ATHEROS_AR2315_PCI) += pci.o
|
||||
--- /dev/null
|
||||
+++ b/arch/mips/ar231x/pci.c
|
||||
@@ -0,0 +1,228 @@
|
||||
@@ -0,0 +1,229 @@
|
||||
+/*
|
||||
+ * This program is free software; you can redistribute it and/or
|
||||
+ * modify it under the terms of the GNU General Public License
|
||||
|
@ -96,7 +96,8 @@
|
|||
+ return err ? PCIBIOS_DEVICE_NOT_FOUND : PCIBIOS_SUCCESSFUL;
|
||||
+}
|
||||
+
|
||||
+static int ar231x_pci_read(struct pci_bus *bus, unsigned int devfn, int where, int size, u32 * value)
|
||||
+static int ar231x_pci_read(struct pci_bus *bus, unsigned int devfn, int where,
|
||||
+ int size, u32 *value)
|
||||
+{
|
||||
+ return config_access(devfn, where, size, value, 0);
|
||||
+}
|
||||
|
|
|
@ -23,7 +23,7 @@
|
|||
|
||||
--- /dev/null
|
||||
+++ b/drivers/mtd/devices/ar2315.c
|
||||
@@ -0,0 +1,515 @@
|
||||
@@ -0,0 +1,517 @@
|
||||
+
|
||||
+/*
|
||||
+ * MTD driver for the SPI Flash Memory support on Atheros AR2315
|
||||
|
@ -333,7 +333,8 @@
|
|||
+}
|
||||
+
|
||||
+static int
|
||||
+spiflash_read (struct mtd_info *mtd, loff_t from, size_t len, size_t *retlen, u_char *buf)
|
||||
+spiflash_read(struct mtd_info *mtd, loff_t from, size_t len, size_t *retlen,
|
||||
+ u_char *buf)
|
||||
+{
|
||||
+ struct spiflash_priv *priv = to_spiflash(mtd);
|
||||
+ u8 *read_addr;
|
||||
|
@ -357,7 +358,8 @@
|
|||
+}
|
||||
+
|
||||
+static int
|
||||
+spiflash_write (struct mtd_info *mtd, loff_t to, size_t len, size_t *retlen, const u8 *buf)
|
||||
+spiflash_write(struct mtd_info *mtd, loff_t to, size_t len, size_t *retlen,
|
||||
+ const u8 *buf)
|
||||
+{
|
||||
+ struct spiflash_priv *priv = to_spiflash(mtd);
|
||||
+ u32 opcode, bytes_left;
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
--- a/drivers/net/ethernet/ar231x/ar231x.c
|
||||
+++ b/drivers/net/ethernet/ar231x/ar231x.c
|
||||
@@ -1272,7 +1272,7 @@ static int ar231x_mdiobus_probe (struct
|
||||
@@ -1272,7 +1272,7 @@ static int ar231x_mdiobus_probe(struct n
|
||||
BUG_ON(!phydev);
|
||||
BUG_ON(phydev->attached_dev);
|
||||
|
||||
|
|
Loading…
Reference in a new issue