summaryrefslogtreecommitdiff
path: root/src/southbridge/intel/i82801dbm
diff options
context:
space:
mode:
Diffstat (limited to 'src/southbridge/intel/i82801dbm')
-rw-r--r--src/southbridge/intel/i82801dbm/Config.lb2
-rw-r--r--src/southbridge/intel/i82801dbm/chip.h12
-rw-r--r--src/southbridge/intel/i82801dbm/i82801dbm.h9
3 files changed, 14 insertions, 9 deletions
diff --git a/src/southbridge/intel/i82801dbm/Config.lb b/src/southbridge/intel/i82801dbm/Config.lb
index 75fccaa8e1..bdbbe4f515 100644
--- a/src/southbridge/intel/i82801dbm/Config.lb
+++ b/src/southbridge/intel/i82801dbm/Config.lb
@@ -1,4 +1,4 @@
-config i82801dbm.h
+config chip.h
driver i82801dbm.o
driver i82801dbm_usb.o
driver i82801dbm_lpc.o
diff --git a/src/southbridge/intel/i82801dbm/chip.h b/src/southbridge/intel/i82801dbm/chip.h
new file mode 100644
index 0000000000..e1e3da0e6f
--- /dev/null
+++ b/src/southbridge/intel/i82801dbm/chip.h
@@ -0,0 +1,12 @@
+#ifndef I82801DBM_CHIP_H
+#define I82801DBM_CHIP_H
+
+struct southbridge_intel_i82801dbm_config
+{
+ int enable_usb;
+ int enable_native_ide;
+};
+struct chip_operations;
+extern struct chip_operations southbridge_intel_i82801dbm_ops;
+
+#endif /* I82801DBM_CHIP_H */
diff --git a/src/southbridge/intel/i82801dbm/i82801dbm.h b/src/southbridge/intel/i82801dbm/i82801dbm.h
index 5b65e1489b..824d23a0b6 100644
--- a/src/southbridge/intel/i82801dbm/i82801dbm.h
+++ b/src/southbridge/intel/i82801dbm/i82801dbm.h
@@ -9,14 +9,7 @@
#ifndef I82801DBM_H
#define I82801DBM_H
-struct southbridge_intel_i82801dbm_config
-{
- int enable_usb;
- int enable_native_ide;
-};
-struct chip_control;
-extern struct chip_control southbridge_intel_i82801dbm_control;
-
+#include "chip.h"
extern void i82801dbm_enable(device_t dev);
/*