Re: [PATCH 16/26] Input: synaptics-rmi4: Use ifdef to check if CONFIG_PM_SLEEP is set

From: Linus Walleij
Date: Mon Nov 09 2015 - 08:28:18 EST

On Fri, Nov 6, 2015 at 12:41 AM, Andrew Duggan <aduggan@xxxxxxxxxxxxx> wrote:

> The pm variables are not included in the struct rmi_driver_data at compile
> time. Using the IS_ENABLED macro in rmi_driver.c will result in a compiler
> error if CONFIG_PM_SLEEP is not enabled.
> Signed-off-by: Andrew Duggan <aduggan@xxxxxxxxxxxxx>

Tested-by: Linus Walleij <linus.walleij@xxxxxxxxxx>

Linus Walleij
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at