summaryrefslogtreecommitdiff
path: root/drivers
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
parent246c69225c7b962d5c93e92282b78ca9fc5fefee (diff)
downloadu-boot-imx-815f048382dc123c29baa41238a89f820876bf1e.zip
u-boot-imx-815f048382dc123c29baa41238a89f820876bf1e.tar.gz
u-boot-imx-815f048382dc123c29baa41238a89f820876bf1e.tar.bz2
Coding Style cleanup; update CHANGELOG, prepare -rc1v2009.11-rc1
Signed-off-by: Wolfgang Denk <wd@denx.de>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/net/phy/miiphybb.c8
-rw-r--r--drivers/net/smc911x.c2
2 files changed, 5 insertions, 5 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 */
diff --git a/drivers/net/smc911x.c b/drivers/net/smc911x.c
index df73478..c50758e 100644
--- a/drivers/net/smc911x.c
+++ b/drivers/net/smc911x.c
@@ -148,7 +148,7 @@ static int smc911x_init(struct eth_device *dev, bd_t * bd)
{
struct chip_id *id = dev->priv;
- printf(DRIVERNAME ": detected %s controller\n", id->name);
+ printf(DRIVERNAME ": detected %s controller\n", id->name);
smc911x_reset(dev);