Posix: removed PX4_DEVIOC* definitions

The following should not have been defined:

PX4_DIOC_GETPRIV
PX4_DEVIOCSPUBBLOCK
PX4_DEVIOCGPUBBLOCK
PX4_DEVIOCGDEVICEID

The actual defines are in drv_device.h and are:

DEVIOCSPUBBLOCK
DEVIOCGPUBBLOCK
DEVIOCGDEVICEID

DIOC_GETPRIV is defined by Nuttx, so mapped to SIOCDEVPRIVATE for POSIX

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
This commit is contained in:
Mark Charlebois
2015-04-21 23:20:59 -07:00
parent da29004a26
commit 02aaa403f1
4 changed files with 10 additions and 11 deletions
+3
View File
@@ -65,5 +65,8 @@
*/
#define DEVIOCGDEVICEID _DEVICEIOC(2)
#ifdef __PX4_POSIX
#define DIOC_GETPRIV SIOCDEVPRIVATE
#endif
#endif /* _DRV_DEVICE_H */