From 6a3a8ce1a81578d4461c9d4de6d59a3154f6a8a4 Mon Sep 17 00:00:00 2001 From: Vladimir Serbinenko Date: Sun, 17 Aug 2014 23:48:42 +0200 Subject: azalia: Move shared variable to separate file Change-Id: Icf46ad1397c67478887c80a627b8f4eb0a67e542 Signed-off-by: Vladimir Serbinenko Reviewed-on: http://review.coreboot.org/6695 Tested-by: build bot (Jenkins) Reviewed-by: Idwer Vollering Reviewed-by: Paul Menzel --- src/mainboard/kontron/986lcd-m/mainboard.c | 4 +--- src/mainboard/kontron/ktqm77/mainboard.c | 4 +--- 2 files changed, 2 insertions(+), 6 deletions(-) (limited to 'src/mainboard/kontron') diff --git a/src/mainboard/kontron/986lcd-m/mainboard.c b/src/mainboard/kontron/986lcd-m/mainboard.c index 4f0dcdd3ca..346546a869 100644 --- a/src/mainboard/kontron/986lcd-m/mainboard.c +++ b/src/mainboard/kontron/986lcd-m/mainboard.c @@ -26,6 +26,7 @@ #include #include #include +#include #define BOOT_DISPLAY_DEFAULT 0 #define BOOT_DISPLAY_CRT (1 << 0) @@ -206,9 +207,6 @@ static void hwm_setup(void) /* Audio Setup */ -extern u32 * cim_verb_data; -extern u32 cim_verb_data_size; - static void verb_setup(void) { // Default VERB is fine on this mainboard. diff --git a/src/mainboard/kontron/ktqm77/mainboard.c b/src/mainboard/kontron/ktqm77/mainboard.c index fd9cbf14ab..4804a7eba7 100644 --- a/src/mainboard/kontron/ktqm77/mainboard.c +++ b/src/mainboard/kontron/ktqm77/mainboard.c @@ -35,6 +35,7 @@ #include #include "hda_verb.h" #include +#include void mainboard_suspend_resume(void) { @@ -170,9 +171,6 @@ static int int15_handler(void) /* Audio Setup */ -extern const u32 *cim_verb_data; -extern u32 cim_verb_data_size; - static void verb_setup(void) { cim_verb_data = mainboard_cim_verb_data; -- cgit v1.2.3