diff options
author | Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net> | 2009-02-18 20:41:57 +0000 |
---|---|---|
committer | Myles Watson <mylesgw@gmail.com> | 2009-02-18 20:41:57 +0000 |
commit | 7ad11e8d33bf0f377ea882848e7e9e6cdd0243bb (patch) | |
tree | a6c3814ddd23406c282eb7421d6777f600fd2a9e /src/mainboard/lippert/spacerunner-lx | |
parent | d58671c4bfc0376e288cb0f2936bd43d8cfbb48e (diff) |
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/lippert/spacerunner-lx')
-rw-r--r-- | src/mainboard/lippert/spacerunner-lx/chip.h | 4 | ||||
-rw-r--r-- | src/mainboard/lippert/spacerunner-lx/mainboard.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/mainboard/lippert/spacerunner-lx/chip.h b/src/mainboard/lippert/spacerunner-lx/chip.h index d575f6cc3e..422b04ab2b 100644 --- a/src/mainboard/lippert/spacerunner-lx/chip.h +++ b/src/mainboard/lippert/spacerunner-lx/chip.h @@ -22,9 +22,9 @@ #include <stdint.h> -extern struct chip_operations mainboard_lippert_spacerunner_lx_ops; +extern struct chip_operations mainboard_ops; -struct mainboard_lippert_spacerunner_lx_config { +struct mainboard_config { /* bit2 = RS485_EN2, bit1 = RS485_EN1, bit0 = Live LED */ u8 sio_gp1x_config; }; diff --git a/src/mainboard/lippert/spacerunner-lx/mainboard.c b/src/mainboard/lippert/spacerunner-lx/mainboard.c index 5ef2ebf3e8..05d2265569 100644 --- a/src/mainboard/lippert/spacerunner-lx/mainboard.c +++ b/src/mainboard/lippert/spacerunner-lx/mainboard.c @@ -41,7 +41,7 @@ static const u16 ec_init_table[] = { /* hi=data, lo=index */ static void init(struct device *dev) { - struct mainboard_lippert_spacerunner_lx_config *mb = dev->chip_info; + struct mainboard_config *mb = dev->chip_info; unsigned int gpio_base, i; printk_debug("LiPPERT SpaceRunner-LX ENTER %s\n", __func__); @@ -74,7 +74,7 @@ static void enable_dev(struct device *dev) dev->ops->init = init; } -struct chip_operations mainboard_lippert_spacerunner_lx_ops = { +struct chip_operations mainboard_ops = { CHIP_NAME("LiPPERT SpaceRunner-LX Mainboard") .enable_dev = enable_dev, }; |