diff options
author | Alexandru Gagniuc <mr.nuke.me@gmail.com> | 2012-08-22 19:12:49 -0500 |
---|---|---|
committer | Alexandru Gagniuc <mr.nuke.me@gmail.com> | 2012-08-30 04:25:43 +0200 |
commit | 83a6dbd006a3afec979d8bb7316834fcb54e003b (patch) | |
tree | 888974acb4c21cbb4240f422ad6a73b3c73d37ba /src/arch/x86/Makefile.inc | |
parent | 87213b655eaa09522366f92088f94913024b6ef9 (diff) |
ioapic driver: typedef the ioapic_config struct (TRIVIAL)
I use the ioapic_config in my VX900 branch.
Typing:
struct drivers_generic_ioapic_config *config = (struct drivers_generic_ioapic_config *)dev->chip_info;
is clumsy at best, so just create a typedef to mahe this more elegant:
ioapic_config_t config = (ioapic_config_t*)ioapic->chip_info;
Change-Id: I407899845cfbd847ba6309dd0cf9ef836a607c8e
Signed-off-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
Reviewed-on: http://review.coreboot.org/1481
Tested-by: build bot (Jenkins)
Reviewed-by: Anton Kochkov <anton.kochkov@gmail.com>
Diffstat (limited to 'src/arch/x86/Makefile.inc')
0 files changed, 0 insertions, 0 deletions