aboutsummaryrefslogtreecommitdiff
path: root/nuttx/include/nuttx/net/enc28j60.h
diff options
context:
space:
mode:
Diffstat (limited to 'nuttx/include/nuttx/net/enc28j60.h')
-rw-r--r--nuttx/include/nuttx/net/enc28j60.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/nuttx/include/nuttx/net/enc28j60.h b/nuttx/include/nuttx/net/enc28j60.h
index 9a3be10c1..2e39d88ac 100644
--- a/nuttx/include/nuttx/net/enc28j60.h
+++ b/nuttx/include/nuttx/net/enc28j60.h
@@ -51,7 +51,7 @@
/* ENC28J60 Configuration Settings:
*
- * CONFIG_NET_ENC28J60 - Enabled ENC28J60 support
+ * CONFIG_ENC28J60 - Enabled ENC28J60 support
* CONFIG_ENC28J60_SPIMODE - Controls the SPI mode
* CONFIG_ENC28J60_FREQUENCY - Define to use a different bus frequency
* CONFIG_ENC28J60_NINTERFACES - Specifies the number of physical ENC28J60
@@ -89,9 +89,9 @@ struct enc_stats_s
struct enc_lower_s
{
- int (*attach)(FAR struct enc_lower_s *lower, xcpt_t handler);
- void (*enable)(FAR struct enc_lower_s *lower);
- void (*disable)(FAR struct enc_lower_s *lower);
+ int (*attach)(FAR const struct enc_lower_s *lower, xcpt_t handler);
+ void (*enable)(FAR const struct enc_lower_s *lower);
+ void (*disable)(FAR const struct enc_lower_s *lower);
};
/****************************************************************************