[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Would setting the CONFIG_RTC option break the powerpc kernel on your machine ?



>  1) could a #ifdef __powerpc__ not be enough ?

No. _machine is only defined for the "multiarch" config (PREP/CHRP/PMAC)

>  2) The other failures in rtc_init return -EIO, not -ENODEV.

Well, in this case, -ENODEV makes more sense, though nothing really
cares except the kind of error message the user will get when using
it as a module.

> Friendly,
> 
> Sven Luther
-- 
Benjamin Herrenschmidt <benh@kernel.crashing.org>



Reply to: