source: rtems/cpukit/libfs/src/devfs/devfs_node_type.c @ c499856

4.115
Last change on this file since c499856 was c499856, checked in by Chris Johns <chrisj@…>, on 03/20/14 at 21:10:47

Change all references of rtems.com to rtems.org.

  • Property mode set to 100644
File size: 551 bytes
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.org/license/LICENSE.
12 */
13
14#if HAVE_CONFIG_H
15#include "config.h"
16#endif
17
18#include "devfs.h"
19
20rtems_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.