blob: bf863b48de4f8e2b3ab30c51b893fdfe88e8320d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
/* Copyright 2021 The Chromium OS Authors. All rights reserved.
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#include "host_command.h"
struct host_command *zephyr_find_host_command(int command)
{
STRUCT_SECTION_FOREACH(host_command, cmd) {
if (cmd->command == command)
return cmd;
}
return NULL;
}
|