summaryrefslogtreecommitdiff
path: root/include/libcamera/internal/sysfs.h
blob: 247a376ab7e0e8ee7699df2994da1d5136443981 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
/* SPDX-License-Identifier: LGPL-2.1-or-later */
/*
 * Copyright (C) 2020, Google Inc.
 *
 * sysfs.h - Miscellaneous utility functions to access sysfs
 */
#ifndef __LIBCAMERA_INTERNAL_SYSFS_H__
#define __LIBCAMERA_INTERNAL_SYSFS_H__

#include <string>

namespace libcamera {

namespace sysfs {

std::string charDevPath(const std::string &deviceNode);

} /* namespace sysfs */

} /* namespace libcamera */

#endif /* __LIBCAMERA_INTERNAL_SYSFS_H__ */