summaryrefslogtreecommitdiff
path: root/drivers/net/phy/miiphybb.c
diff options
context:
space:
mode:
authorWolfgang Denk <wd@denx.de>2009-10-28 00:49:47 +0100
committerWolfgang Denk <wd@denx.de>2009-10-28 00:49:47 +0100
commit4946775c6db52dba28f72ba3525764b54f1d4593 (patch)
treee5d0d53ce1e138f05b2ced553933aecc6907c3e1 /drivers/net/phy/miiphybb.c
parent246c69225c7b962d5c93e92282b78ca9fc5fefee (diff)
downloadu-boot-imx-4946775c6db52dba28f72ba3525764b54f1d4593.zip
u-boot-imx-4946775c6db52dba28f72ba3525764b54f1d4593.tar.gz
u-boot-imx-4946775c6db52dba28f72ba3525764b54f1d4593.tar.bz2
Coding Style cleanup; update CHANGELOG, prepare -rc1v2009.11-rc1
Signed-off-by: Wolfgang Denk <wd@denx.de>
Diffstat (limited to 'drivers/net/phy/miiphybb.c')
-rw-r--r--drivers/net/phy/miiphybb.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/net/phy/miiphybb.c b/drivers/net/phy/miiphybb.c
index 4a7ce5b..2768c75 100644
--- a/drivers/net/phy/miiphybb.c
+++ b/drivers/net/phy/miiphybb.c
@@ -119,7 +119,7 @@ struct bb_miiphy_bus bb_miiphy_buses[] = {
};
int bb_miiphy_buses_num = sizeof(bb_miiphy_buses) /
- sizeof(bb_miiphy_buses[0]);
+ sizeof(bb_miiphy_buses[0]);
#endif
void bb_miiphy_init(void)
@@ -167,7 +167,7 @@ static inline struct bb_miiphy_bus *bb_miiphy_getbus(char *devname)
* and write).
*/
static void miiphy_pre(struct bb_miiphy_bus *bus, char read,
- unsigned char addr, unsigned char reg)
+ unsigned char addr, unsigned char reg)
{
int j;
@@ -247,7 +247,7 @@ static void miiphy_pre(struct bb_miiphy_bus *bus, char read,
* 0 on success
*/
int bb_miiphy_read(char *devname, unsigned char addr,
- unsigned char reg, unsigned short *value)
+ unsigned char reg, unsigned short *value)
{
short rdreg; /* register working value */
int v;
@@ -328,7 +328,7 @@ int bb_miiphy_read(char *devname, unsigned char addr,
* 0 on success
*/
int bb_miiphy_write (char *devname, unsigned char addr,
- unsigned char reg, unsigned short value)
+ unsigned char reg, unsigned short value)
{
struct bb_miiphy_bus *bus;
int j; /* counter */