summaryrefslogtreecommitdiffstats
path: root/include/machine_id.h
blob: e30bbada1acd5bf1fd152d95e53e5aa03c507148 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/* SPDX-License-Identifier: GPL-2.0-only */

#ifndef __MACHINE_ID_H__
#define __MACHINE_ID_H__

#if IS_ENABLED(CONFIG_MACHINE_ID)

void machine_id_set_hashable(const void *hashable, size_t len);

#else

static inline void machine_id_set_hashable(const void *hashable, size_t len)
{
}

#endif /* CONFIG_MACHINE_ID */

#endif  /* __MACHINE_ID_H__ */