xref: /openbmc/qemu/include/qemu/chardev_open.h (revision d6b5c4c1)
1 /*
2  * QEMU Chardev Helper
3  *
4  * Copyright (C) 2023 Intel Corporation.
5  *
6  * Authors: Yi Liu <yi.l.liu@intel.com>
7  *
8  * This work is licensed under the terms of the GNU GPL, version 2.  See
9  * the COPYING file in the top-level directory.
10  */
11 
12 #ifndef QEMU_CHARDEV_OPEN_H
13 #define QEMU_CHARDEV_OPEN_H
14 
15 int open_cdev(const char *devpath, dev_t cdev);
16 #endif
17