Commit 69d6977a authored by Andrew Morton's avatar Andrew Morton Committed by Linus Torvalds

[PATCH] mca resource layout fix

Greg's tree changes the layout of struct resource, so mca.c blows up.
Preemptively fix it.
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 175df1ee
...@@ -123,13 +123,13 @@ static void mca_configure_adapter_status(struct mca_device *mca_dev) { ...@@ -123,13 +123,13 @@ static void mca_configure_adapter_status(struct mca_device *mca_dev) {
/*--------------------------------------------------------------------*/ /*--------------------------------------------------------------------*/
static struct resource mca_standard_resources[] = { static struct resource mca_standard_resources[] = {
{ "system control port B (MCA)", 0x60, 0x60 }, { .start = 0x60, .end = 0x60, .name = "system control port B (MCA)" },
{ "arbitration (MCA)", 0x90, 0x90 }, { .start = 0x90, .end = 0x90, .name = "arbitration (MCA)" },
{ "card Select Feedback (MCA)", 0x91, 0x91 }, { .start = 0x91, .end = 0x91, .name = "card Select Feedback (MCA)" },
{ "system Control port A (MCA)", 0x92, 0x92 }, { .start = 0x92, .end = 0x92, .name = "system Control port A (MCA)" },
{ "system board setup (MCA)", 0x94, 0x94 }, { .start = 0x94, .end = 0x94, .name = "system board setup (MCA)" },
{ "POS (MCA)", 0x96, 0x97 }, { .start = 0x96, .end = 0x97, .name = "POS (MCA)" },
{ "POS (MCA)", 0x100, 0x107 } { .start = 0x100, .end = 0x107, .name = "POS (MCA)" }
}; };
#define MCA_STANDARD_RESOURCES (sizeof(mca_standard_resources)/sizeof(struct resource)) #define MCA_STANDARD_RESOURCES (sizeof(mca_standard_resources)/sizeof(struct resource))
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment