Dan Carpenter 99b80e9771 sata_mv: silence an uninitialized variable warning
Gcc version 4.6.2-12 complains that if we can't find the "nr-ports"
property in of_property_read_u32_array() then "n_ports" is used
uninitialized.  Let's set it to zero in that case.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
2012-04-12 15:57:22 -04:00
..
2012-04-06 17:54:53 -07:00
2012-04-05 22:13:39 -07:00
2012-03-27 16:03:32 -07:00
2012-04-10 15:30:16 -07:00
2012-03-28 13:56:35 -07:00
2012-03-28 14:08:46 -07:00
2012-04-06 17:54:53 -07:00
2012-03-28 15:58:21 -07:00
2012-03-30 00:09:17 -07:00
2012-04-07 09:52:46 -07:00
2012-04-05 22:13:39 -07:00
2012-04-05 22:13:39 -07:00
2012-03-29 18:02:10 -07:00
2012-04-06 17:54:53 -07:00