From: Todd P. <tp...@mv...> - 2005-01-06 00:55:41
|
Amit Choudhary wrote: > Hi Todd, > > After applying the patch, I compile the kernel without enabling the DPM > option. I get the following error. > > CC drivers/base/power/power-dpm.o > drivers/base/power/power-dpm.c: In function `constraints_show': > drivers/base/power/power-dpm.c:237: error: `dpm_param_names' undeclared > (first u > se in this function) > drivers/base/power/power-dpm.c:237: error: (Each undeclared identifier is > report > ed only once > drivers/base/power/power-dpm.c:237: error: for each function it appears in.) > drivers/base/power/power-dpm.c: In function `constraints_store': > drivers/base/power/power-dpm.c:296: error: `DPM_PP_NBR' undeclared (first use > in > this function) > drivers/base/power/power-dpm.c:297: error: `dpm_param_names' undeclared > (first u > se in this function) > make[3]: *** [drivers/base/power/power-dpm.o] Error 1 > make[2]: *** [drivers/base/power] Error 2 > make[1]: *** [drivers/base] Error 2 > make: *** [drivers] Error 2 > > > There are some other places where code related to DPM is not within > #ifdef...#endif. Hello Amit -- I think that bug is fixed in the post-2.6.9 patch I sent, please let me know if there's any other places that need to be fixed up. Some of the stuff, such as power event notifiers, are intended to work independently of DPM (yes, I should probably split things up into separate patches, ugh). Thanks, -- Todd |