summaryrefslogtreecommitdiffstats
path: root/cpukit/libfs/src/devfs/devfs_node_type.c
blob: 2c1e7f469bd0541f76d2982ab8657ccf26eb2630 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
/**
 * @file
 *
 * @brief Invoked upon Determination of a Node Type
 * @ingroup DevFsDeviceTable Define Device Table Type
 */

/*
 *  The license and distribution terms for this file may be
 *  found in the file LICENSE in this distribution or at
 *  http://www.rtems.org/license/LICENSE.
 */

#if HAVE_CONFIG_H
#include "config.h"
#endif

#include "devfs.h"

rtems_filesystem_node_types_t devFS_node_type(
  const rtems_filesystem_location_info_t *loc
)
{
  /*
   * There is only one type of node: device
   */

  return RTEMS_FILESYSTEM_DEVICE;
}