4.115
Line | |
---|
1 | /** |
---|
2 | * @file |
---|
3 | * |
---|
4 | * @brief Invoked upon Determination of a Node Type |
---|
5 | * @ingroup DevFsDeviceTable Define Device Table Type |
---|
6 | */ |
---|
7 | |
---|
8 | /* |
---|
9 | * The license and distribution terms for this file may be |
---|
10 | * found in the file LICENSE in this distribution or at |
---|
11 | * http://www.rtems.com/license/LICENSE. |
---|
12 | */ |
---|
13 | |
---|
14 | #if HAVE_CONFIG_H |
---|
15 | #include "config.h" |
---|
16 | #endif |
---|
17 | |
---|
18 | #include "devfs.h" |
---|
19 | |
---|
20 | rtems_filesystem_node_types_t devFS_node_type( |
---|
21 | const rtems_filesystem_location_info_t *loc |
---|
22 | ) |
---|
23 | { |
---|
24 | /* |
---|
25 | * There is only one type of node: device |
---|
26 | */ |
---|
27 | |
---|
28 | return RTEMS_FILESYSTEM_DEVICE; |
---|
29 | } |
---|
30 | |
---|
31 | |
---|
Note: See
TracBrowser
for help on using the repository browser.