[OpenWrt-Devel] [PATCH 1/2] kernel/generic: add ledtrig support to libata

John Crispin blogic at openwrt.org
Fri Dec 12 11:17:39 EST 2014



On 12/12/2014 17:07, Daniel Golle wrote:
> ++#ifdef CONFIG_ATA_LEDS
> ++	ap->ledtrig = kzalloc(sizeof(struct led_trigger), GFP_KERNEL);
> ++#endif


can you change all of these to the new IS_ENABLED() api

	John
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel



More information about the openwrt-devel mailing list