summaryrefslogtreecommitdiff
path: root/src/mainboard/olpc
diff options
context:
space:
mode:
authorCarl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>2009-02-18 20:41:57 +0000
committerMyles Watson <mylesgw@gmail.com>2009-02-18 20:41:57 +0000
commit7ad11e8d33bf0f377ea882848e7e9e6cdd0243bb (patch)
treea6c3814ddd23406c282eb7421d6777f600fd2a9e /src/mainboard/olpc
parentd58671c4bfc0376e288cb0f2936bd43d8cfbb48e (diff)
downloadcoreboot-7ad11e8d33bf0f377ea882848e7e9e6cdd0243bb.tar.xz
Carl-Daniel's part:
This patch converts mainboard_$VENDOR_$BOARD_ops to mainboard_ops and mainboard_$VENDOR_$BOARD_config to mainboard_config. Ron's part: The config change that makes the naming change not break every build. Signed-off-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net> Signed-off-by: Ronald G. Minnich <rminnich@gmail.com> Acked-by: Myles Watson <mylesgw@gmail.com> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3954 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/mainboard/olpc')
-rw-r--r--src/mainboard/olpc/btest/chip.h4
-rw-r--r--src/mainboard/olpc/btest/mainboard.c2
-rw-r--r--src/mainboard/olpc/rev_a/chip.h4
-rw-r--r--src/mainboard/olpc/rev_a/mainboard.c2
4 files changed, 6 insertions, 6 deletions
diff --git a/src/mainboard/olpc/btest/chip.h b/src/mainboard/olpc/btest/chip.h
index 615ed8d2ac..e168812d0e 100644
--- a/src/mainboard/olpc/btest/chip.h
+++ b/src/mainboard/olpc/btest/chip.h
@@ -1,5 +1,5 @@
-extern struct chip_operations mainboard_olpc_btest_ops;
+extern struct chip_operations mainboard_ops;
-struct mainboard_olpc_btest_config {
+struct mainboard_config {
int nothing;
};
diff --git a/src/mainboard/olpc/btest/mainboard.c b/src/mainboard/olpc/btest/mainboard.c
index acedff8d6e..40e363f49a 100644
--- a/src/mainboard/olpc/btest/mainboard.c
+++ b/src/mainboard/olpc/btest/mainboard.c
@@ -131,7 +131,7 @@ static void enable_dev(struct device *dev)
dev->ops->init = init;
}
-struct chip_operations mainboard_olpc_btest_ops = {
+struct chip_operations mainboard_ops = {
CHIP_NAME("OLPC btest Mainboard")
.enable_dev = enable_dev,
};
diff --git a/src/mainboard/olpc/rev_a/chip.h b/src/mainboard/olpc/rev_a/chip.h
index 34c0959a48..e168812d0e 100644
--- a/src/mainboard/olpc/rev_a/chip.h
+++ b/src/mainboard/olpc/rev_a/chip.h
@@ -1,5 +1,5 @@
-extern struct chip_operations mainboard_olpc_rev_a_ops;
+extern struct chip_operations mainboard_ops;
-struct mainboard_olpc_rev_a_config {
+struct mainboard_config {
int nothing;
};
diff --git a/src/mainboard/olpc/rev_a/mainboard.c b/src/mainboard/olpc/rev_a/mainboard.c
index a89abb505a..604f34ccfd 100644
--- a/src/mainboard/olpc/rev_a/mainboard.c
+++ b/src/mainboard/olpc/rev_a/mainboard.c
@@ -102,7 +102,7 @@ static void enable_dev(struct device *dev)
dev->ops->init = init;
}
-struct chip_operations mainboard_olpc_rev_a_ops = {
+struct chip_operations mainboard_ops = {
CHIP_NAME("OLPC rev_a Mainboard")
.enable_dev = enable_dev,
};