summaryrefslogtreecommitdiff
path: root/src/drivers/generic
diff options
context:
space:
mode:
authorKyösti Mälkki <kyosti.malkki@gmail.com>2012-08-21 11:37:11 +0300
committerAnton Kochkov <anton.kochkov@gmail.com>2012-08-22 05:06:41 +0200
commitfee73df07ac0d17f319486f977585c7945e0d069 (patch)
tree001bb70616c06ef24c267ac257dccc498eac227c /src/drivers/generic
parent0d5d70b79a3824bfa46a7035d901cb0e7672e3fe (diff)
Auto-declare chip_operations
The name is derived directly from the device path. Change-Id: If2053d14f0e38a5ee0159b47a66d45ff3dff649a Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-on: http://review.coreboot.org/1471 Tested-by: build bot (Jenkins) Reviewed-by: Patrick Georgi <patrick@georgi-clan.de> Reviewed-by: Alexandru Gagniuc <mr.nuke.me@gmail.com> Reviewed-by: Anton Kochkov <anton.kochkov@gmail.com>
Diffstat (limited to 'src/drivers/generic')
-rw-r--r--src/drivers/generic/debug/chip.h2
-rw-r--r--src/drivers/generic/ioapic/chip.h1
2 files changed, 0 insertions, 3 deletions
diff --git a/src/drivers/generic/debug/chip.h b/src/drivers/generic/debug/chip.h
index 78ce2159a1..661fd54d7c 100644
--- a/src/drivers/generic/debug/chip.h
+++ b/src/drivers/generic/debug/chip.h
@@ -1,4 +1,2 @@
-extern struct chip_operations drivers_generic_debug_ops;
-
struct drivers_generic_debug_config {
};
diff --git a/src/drivers/generic/ioapic/chip.h b/src/drivers/generic/ioapic/chip.h
index f6b298f077..ad6ff0ba1f 100644
--- a/src/drivers/generic/ioapic/chip.h
+++ b/src/drivers/generic/ioapic/chip.h
@@ -20,7 +20,6 @@
#ifndef DRIVERS_GENERIC_IOAPIC_CHIP_H
#define DRIVERS_GENERIC_IOAPIC_CHIP_H
-extern struct chip_operations drivers_generic_ioapic_ops;
struct drivers_generic_ioapic_config {
u32 version;
u8 apicid;