aboutsummaryrefslogtreecommitdiff
path: root/lib/raid6/algos.c
diff options
context:
space:
mode:
authorArnd Bergmann <[email protected]>2016-02-02 13:47:58 -0200
committerMauro Carvalho Chehab <[email protected]>2016-02-02 14:28:56 -0200
commit24095e766037018e7a4b636834a383f86a9b30f2 (patch)
treea32f888068e7efc72b2b5e5cb15ff1846fa2a6c7 /lib/raid6/algos.c
parent5ce625a42d6206d5a18222c6475f6b866ef68569 (diff)
[media] msp3400: use IS_ENABLED check instead of #if
A recent patch broke the msp3400 driver when CONFIG_MEDIA_CONTROLLER is not set: drivers/media/i2c/msp3400-driver.h:107:5: error: "CONFIG_MEDIA_CONTROLLER" is not defined [-Werror=undef] It was clearly a typo, and this patch changes the "#if CONFIG_MEDIA_CONTROLLER" to a working IS_ENABLED() check. Fixes: fb4932821731 ("[media] msp3400: initialize MC data") Signed-off-by: Arnd Bergmann <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'lib/raid6/algos.c')
0 files changed, 0 insertions, 0 deletions