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. -- Kalle Valo -- 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