summaryrefslogtreecommitdiff
path: root/include/libcamera/internal/sysfs.h
blob: aca60fb6c8ab9a2c8d62c0fe76c52db5e09b4140 (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.
 *
 * Miscellaneous utility functions to access sysfs
 */

#pragma once

#include <string>

namespace libcamera {

namespace sysfs {

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

std::string firmwareNodePath(const std::string &device);

} /* namespace sysfs */

} /* namespace libcamera */