diff options
author | patacongo <patacongo@7fd9a85b-ad96-42d3-883c-3090e2eb8679> | 2012-08-03 19:11:11 +0000 |
---|---|---|
committer | patacongo <patacongo@7fd9a85b-ad96-42d3-883c-3090e2eb8679> | 2012-08-03 19:11:11 +0000 |
commit | 07b635386da6ed220d4f5c2a36f7e869b4e5b2a5 (patch) | |
tree | da55e9fab23eebbf67c222daf2efe23f93daf1ec /nuttx/drivers/bch/bchdev_register.c | |
parent | fe26494ea8673246adda770689a8dea11176a47d (diff) | |
download | px4-firmware-07b635386da6ed220d4f5c2a36f7e869b4e5b2a5.tar.gz px4-firmware-07b635386da6ed220d4f5c2a36f7e869b4e5b2a5.tar.bz2 px4-firmware-07b635386da6ed220d4f5c2a36f7e869b4e5b2a5.zip |
Add capability to traverse inodes in the NuttX psuedo-filesystem
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@5004 7fd9a85b-ad96-42d3-883c-3090e2eb8679
Diffstat (limited to 'nuttx/drivers/bch/bchdev_register.c')
-rw-r--r-- | nuttx/drivers/bch/bchdev_register.c | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/nuttx/drivers/bch/bchdev_register.c b/nuttx/drivers/bch/bchdev_register.c index 5bbedb6b9..924977371 100644 --- a/nuttx/drivers/bch/bchdev_register.c +++ b/nuttx/drivers/bch/bchdev_register.c @@ -1,8 +1,8 @@ /**************************************************************************** * drivers/bch/bchdev_register.c * - * Copyright (C) 2008-2009 Gregory Nutt. All rights reserved. - * Author: Gregory Nutt <spudmonkey@racsa.co.cr> + * Copyright (C) 2008-2009, 2012 Gregory Nutt. All rights reserved. + * Author: Gregory Nutt <gnutt@nuttx.org> * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions @@ -70,12 +70,13 @@ * Name: bchdev_register * * Description: - * Setup so that it exports the block driver referenced by - * 'blkdev' as a character device 'chardev' + * Setup so that it exports the block driver referenced by 'blkdev' as a + * character device 'chardev' * ****************************************************************************/ -int bchdev_register(const char *blkdev, const char *chardev, bool readonly) +int bchdev_register(FAR const char *blkdev, FAR const char *chardev, + bool readonly) { FAR void *handle; int ret; |