u-boot-brain/drivers
Timur Tabi daa2ce6292 tsec: fix the return value for tsec_eth_init()
The Ethernet initialization functions are supposed to return the number of
devices initialized, so fix tsec_eth_init() so that they returns the number of
TSECs initialized, instead of just zero.  This is safe because the return value
is currently ignored by all callers, but now they don't have to ignore it.

In general, if an function initializes only one device, then it should return
a negative number if there's an error.  If it initializes more than one device,
then it should never return a negative number.

Signed-off-by: Timur Tabi <timur@freescale.com>
Signed-off-by: Ben Warren <biggerbadderben@gmail.com>
2010-07-12 00:14:28 -07:00
..
bios_emulator
block
dma
fpga
gpio Make sure that argv[] argument pointers are not modified. 2010-07-04 23:55:42 +02:00
hwmon
i2c
input
misc Make sure that argv[] argument pointers are not modified. 2010-07-04 23:55:42 +02:00
mmc
mtd sf: move useful messages from debug to printf 2010-06-30 23:47:08 -04:00
net tsec: fix the return value for tsec_eth_init() 2010-07-12 00:14:28 -07:00
pci
pcmcia
power
qe Make sure that argv[] argument pointers are not modified. 2010-07-04 23:55:42 +02:00
rtc
serial
spi
twserial
usb drivers/usb/host/ohci-hcd: rename readl/writel to ohci_readl/ohci_writel 2010-06-30 21:38:10 +02:00
video
watchdog