aboutsummaryrefslogtreecommitdiff
path: root/modules/devices.c
diff options
context:
space:
mode:
Diffstat (limited to 'modules/devices.c')
-rw-r--r--modules/devices.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/modules/devices.c b/modules/devices.c
index 8bf24d46..38fce948 100644
--- a/modules/devices.c
+++ b/modules/devices.c
@@ -408,15 +408,15 @@ gchar *get_processor_max_frequency(void)
gchar *get_motherboard(void)
{
- gchar *board_name, *board_vendor, *board_version;
- gchar *product_name, *product_vendor, *product_version;
+ gchar *board_vendor;
+
+#if defined(ARCH_x86) || defined(ARCH_x86_64)
+ gchar *board_name, *board_version;
gchar *board_part = NULL, *product_part = NULL;
const gchar *tmp;
+ gchar *product_name, *product_vendor, *product_version;
int b = 0, p = 0;
-
gchar *ret;
-
-#if defined(ARCH_x86) || defined(ARCH_x86_64)
scan_dmi(FALSE);
board_name = dmi_get_str("baseboard-product-name");