char-pty: remove write_lock usage
[qemu/ar7.git] / hw / smbios / smbios-stub.c
blob64e5ba93ec563d02a5c34d56cd52a52e7f113379
1 /*
2 * SMBIOS stubs for platforms that don't support SMBIOS.
4 * Copyright (c) 2010 Isaku Yamahata <yamahata at valinux co jp>
5 * VA Linux Systems Japan K.K.
6 * Copyright (c) 2016 Leif Lindholm <leif.lindholm@linaro.org>
7 * Linaro Ltd.
9 * This program is free software; you can redistribute it and/or modify
10 * it under the terms of the GNU General Public License as published by
11 * the Free Software Foundation; either version 2 of the License, or
12 * (at your option) any later version.
14 * This program is distributed in the hope that it will be useful,
15 * but WITHOUT ANY WARRANTY; without even the implied warranty of
16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 * GNU General Public License for more details.
19 * You should have received a copy of the GNU General Public License along
20 * with this program; if not, see <http://www.gnu.org/licenses/>.
23 #include "qemu/osdep.h"
24 #include "qapi/error.h"
25 #include "qapi/qmp/qerror.h"
26 #include "hw/firmware/smbios.h"
28 void smbios_entry_add(QemuOpts *opts, Error **errp)
30 error_setg(errp, QERR_UNSUPPORTED);