summaryrefslogtreecommitdiffstats
path: root/cpukit/libfs/src/devfs/devfs_node_type.c
blob: ed9ee8629f2a3ed1e17ed5a71b19c47821293ee7 (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.com/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;
}