aboutsummaryrefslogtreecommitdiff
path: root/nuttx/include
diff options
context:
space:
mode:
authorpatacongo <patacongo@7fd9a85b-ad96-42d3-883c-3090e2eb8679>2012-09-11 16:50:16 +0000
committerpatacongo <patacongo@7fd9a85b-ad96-42d3-883c-3090e2eb8679>2012-09-11 16:50:16 +0000
commit64c8e5c7c3d1c7729bd5c12952b4966fa06ed77a (patch)
tree7549e64438eb97eda761a8274c9e00fa92870b20 /nuttx/include
parent648420e67a546b33400fd2fe5b6a50410276ae3d (diff)
downloadpx4-firmware-64c8e5c7c3d1c7729bd5c12952b4966fa06ed77a.tar.gz
px4-firmware-64c8e5c7c3d1c7729bd5c12952b4966fa06ed77a.tar.bz2
px4-firmware-64c8e5c7c3d1c7729bd5c12952b4966fa06ed77a.zip
Updates/fixes related to ENC28J60, Kconfigs, and fire-stm32v2
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@5128 7fd9a85b-ad96-42d3-883c-3090e2eb8679
Diffstat (limited to 'nuttx/include')
-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);
};
/****************************************************************************