Private
Public Access
2
0

init: allow init to be called multiple times

Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
This commit is contained in:
Brendan Le Foll
2014-05-06 10:42:06 +01:00
parent 2f1c493c8b
commit 5161713eaf
3 changed files with 6 additions and 2 deletions

View File

@@ -31,7 +31,7 @@ maa_board_t*
maa_intel_galileo_rev_d()
{
maa_board_t* b = (maa_board_t*) malloc(sizeof(maa_board_t));
if(b == NULL)
if (b == NULL)
return NULL;
b->phy_pin_count = 20;