Re: [PATCH] init. mca_bus_type even if !MCA_bus

From: James Bottomley
Date: Mon May 17 2004 - 18:04:40 EST


On Mon, 2004-05-17 at 17:52, Andrew Morton wrote:
> well my question really was a question, rather than a reimplementation
> suggestion. If it _is_ appropriate that mca_bus_type be registered on a
> platform which is discovered to have no MCA hardware then fine.
>
> Greg? James? Any insights?

If the use compiles with CONFIG_MCA it makes sense to register the bus.
It's also certainly easier than having to check for MCA_bus being set in
all of the routines.

James


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/