On Wed, Jan 07, 2015 at 04:33:46PM +0200, Kalle Valo wrote: > Rajkumar Manoharan <rmanohar@xxxxxxxxxxxxxxxx> writes: > > > Place hwmon APIs inside CONFIG_HWMON switch to fix undefined > > errors when hwmon is not enabled. > > > > ERROR: "devm_hwmon_device_register_with_groups" > > [drivers/net/wireless/ath/ath10k/ath10k_core.ko] undefined! > > > > Reported-by: Kalle Valo <kvalo@xxxxxxxxxxxxxxxx> > > Signed-off-by: Rajkumar Manoharan <rmanohar@xxxxxxxxxxxxxxxx> > > Thanks, but this has too many ifdefs for my taste. I have another idea, > let me send v2 shortly. > Got you ;) Having seperate register/unregister APIs for hwmon ops reduce switches. -Rajkumar -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html