Use of GPIO is conditioned on CONFIG_ENC238J60
This commit is contained in:
parent
e909b59fd5
commit
766269e67d
@ -433,7 +433,7 @@ static struct str71x_spidev_s g_spidev0 =
|
||||
};
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_STR71X_BSPI1
|
||||
#if defined(CONFIG_STR71X_BSPI1) && defined(CONFIG_ENC28J60)
|
||||
static struct str71x_spidev_s g_spidev1 =
|
||||
{
|
||||
.spidev = { &g_spiops },
|
||||
|
Loading…
Reference in New Issue
Block a user