kernel: owl-loader: fix compile warning
authorHauke Mehrtens <hauke@hauke-m.de>
Sun, 1 Oct 2017 14:11:58 +0000 (16:11 +0200)
committerHauke Mehrtens <hauke@hauke-m.de>
Sun, 1 Oct 2017 14:40:37 +0000 (16:40 +0200)
commitdbbb4df1631cf2f2e69e640d528ed78f4bdb62ea
tree5aeb5cdce65167e2181977c311e3575827b38cb7
parent25abd71efbc41c6839d2c617f10015423091cb65
kernel: owl-loader: fix compile warning

check if the config option CONFIG_LANTIQ is defined.
This fixes the following warning:
  CC [M]  drivers/misc/owl-loader.o
drivers/misc/owl-loader.c: In function 'ath9k_pci_fixup':
drivers/misc/owl-loader.c:92:5: warning: "CONFIG_LANTIQ" is not defined [-Wundef]
 #if CONFIG_LANTIQ
     ^

Fixes: e9401a2335cc ("kernel: owl-loader for delayed Atheros ath9k fixup")
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
target/linux/generic/files/drivers/misc/owl-loader.c