From 878bfdda7715714e40f560e457858af434251a5c Mon Sep 17 00:00:00 2001 From: Tim Crawford Date: Mon, 3 Aug 2020 09:22:32 -0600 Subject: [PATCH] models: Update coreboot hda_verb.c files - Rename from hda.h - Update license block - Remove header guards --- models/addw2/{hda.h => hda_verb.c} | 20 +------------------- models/gaze15/{hda.h => hda_verb.c} | 20 +------------------- models/lemp9/{hda.h => hda_verb.c} | 20 +------------------- models/oryp6/{hda.h => hda_verb.c} | 20 +------------------- 4 files changed, 4 insertions(+), 76 deletions(-) rename models/addw2/{hda.h => hda_verb.c} (68%) rename models/gaze15/{hda.h => hda_verb.c} (68%) rename models/lemp9/{hda.h => hda_verb.c} (61%) rename models/oryp6/{hda.h => hda_verb.c} (68%) diff --git a/models/addw2/hda.h b/models/addw2/hda_verb.c similarity index 68% rename from models/addw2/hda.h rename to models/addw2/hda_verb.c index 5427ada..66f872c 100644 --- a/models/addw2/hda.h +++ b/models/addw2/hda_verb.c @@ -1,20 +1,4 @@ -/* - * This file is part of the coreboot project. - * - * Copyright (C) 2019 System76 - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; version 2 of the License. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.See the - * GNU General Public License for more details. - */ - -#ifndef HDA_VERB_H -#define HDA_VERB_H +/* SPDX-License-Identifier: GPL-2.0-only */ #include @@ -57,5 +41,3 @@ const u32 cim_verb_data[] = { const u32 pc_beep_verbs[] = {}; AZALIA_ARRAY_SIZES; - -#endif diff --git a/models/gaze15/hda.h b/models/gaze15/hda_verb.c similarity index 68% rename from models/gaze15/hda.h rename to models/gaze15/hda_verb.c index d4cee4c..f570391 100644 --- a/models/gaze15/hda.h +++ b/models/gaze15/hda_verb.c @@ -1,20 +1,4 @@ -/* - * This file is part of the coreboot project. - * - * Copyright (C) 2019 System76 - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; version 2 of the License. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.See the - * GNU General Public License for more details. - */ - -#ifndef HDA_VERB_H -#define HDA_VERB_H +/* SPDX-License-Identifier: GPL-2.0-only */ #include @@ -57,5 +41,3 @@ const u32 cim_verb_data[] = { const u32 pc_beep_verbs[] = {}; AZALIA_ARRAY_SIZES; - -#endif diff --git a/models/lemp9/hda.h b/models/lemp9/hda_verb.c similarity index 61% rename from models/lemp9/hda.h rename to models/lemp9/hda_verb.c index 4723a94..72e6faa 100644 --- a/models/lemp9/hda.h +++ b/models/lemp9/hda_verb.c @@ -1,20 +1,4 @@ -/* - * This file is part of the coreboot project. - * - * Copyright (C) 2019 System76 - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; version 2 of the License. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.See the - * GNU General Public License for more details. - */ - -#ifndef HDA_VERB_H -#define HDA_VERB_H +/* SPDX-License-Identifier: GPL-2.0-only */ #include @@ -48,5 +32,3 @@ const u32 cim_verb_data[] = { const u32 pc_beep_verbs[] = {}; AZALIA_ARRAY_SIZES; - -#endif diff --git a/models/oryp6/hda.h b/models/oryp6/hda_verb.c similarity index 68% rename from models/oryp6/hda.h rename to models/oryp6/hda_verb.c index e5c3e93..ea0f14b 100644 --- a/models/oryp6/hda.h +++ b/models/oryp6/hda_verb.c @@ -1,20 +1,4 @@ -/* - * This file is part of the coreboot project. - * - * Copyright (C) 2019 System76 - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; version 2 of the License. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.See the - * GNU General Public License for more details. - */ - -#ifndef HDA_VERB_H -#define HDA_VERB_H +/* SPDX-License-Identifier: GPL-2.0-only */ #include @@ -57,5 +41,3 @@ const u32 cim_verb_data[] = { const u32 pc_beep_verbs[] = {}; AZALIA_ARRAY_SIZES; - -#endif