Use of GPIO is conditioned on CONFIG_ENC238J60

This commit is contained in:
Gregory Nutt 2015-07-01 18:34:23 -06:00
parent e909b59fd5
commit 766269e67d

View File

@ -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 },