summaryrefslogtreecommitdiff
path: root/CHANGELOG
diff options
context:
space:
mode:
authorTimur Tabi <timur@freescale.com>2010-06-08 13:21:21 (GMT)
committerBen Warren <biggerbadderben@gmail.com>2010-07-12 07:14:28 (GMT)
commitdaa2ce6292c72a6136f1293e23833c587bb89233 (patch)
tree47307a51b1e226d9dc4b780f08a22488424d49c4 /CHANGELOG
parentec0d879f08acf35bc6e935e886ae9a4637ebb713 (diff)
downloadu-boot-fsl-qoriq-daa2ce6292c72a6136f1293e23833c587bb89233.tar.xz
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>
Diffstat (limited to 'CHANGELOG')
0 files changed, 0 insertions, 0 deletions