diff mbox

[13/14] dependencies: Make mt76 depend on kernel 4.1

Message ID 20180304225717.20890-14-hauke@hauke-m.de (mailing list archive)
State Accepted
Headers show

Commit Message

Hauke Mehrtens March 4, 2018, 10:57 p.m. UTC
The mt76 driver uses the devm_led_classdev_register() function which
was added in kernel 4.1, do not build this driver on older kernel
versions.
It is probably not so hard to make this driver also work on older kernel
versions.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
---
 dependencies | 4 ++++
 1 file changed, 4 insertions(+)
diff mbox

Patch

diff --git a/dependencies b/dependencies
index 2741cbeb..92d7dc2c 100644
--- a/dependencies
+++ b/dependencies
@@ -162,3 +162,7 @@  USB_NET_RNDIS_WLAN 4.6
 
 # depends on struct mmc_card::ocr
 RSI_SDIO 3.13
+
+# depends on devm_led_classdev_register()
+MT76_CORE 4.1
+MT76x2E 4.1