commit | 0c53d8c84047d86169bd4147bb8f5adf2772d2bb | [log] [tgz] |
---|---|---|
author | Ben Hutchings <bhutchings@solarflare.com> | Fri Dec 12 22:08:50 2008 -0800 |
committer | David S. Miller <davem@davemloft.net> | Fri Dec 12 22:08:50 2008 -0800 |
tree | a3ab165d88e117e7a36e168aea2cb27e314a9de9 | |
parent | fa402b2ea9cacd1ec94fa77e3efb506a5d034da6 [diff] |
sfc: Use kzalloc() to ensure struct efx_spi_device is fully initialised Currently the mtd field is not initialised early enough. Signed-off-by: Ben Hutchings <bhutchings@solarflare.com> Signed-off-by: David S. Miller <davem@davemloft.net>