build: Disabled MEDIA_TUNER_TDA18250 for Kernels older than 4.3

Message ID 1513763370-24556-1-git-send-email-jasmin@anw.at (mailing list archive)
State Accepted, archived
Headers

Commit Message

Jasmin J. Dec. 20, 2017, 9:49 a.m. UTC
  From: Jasmin Jessich <jasmin@anw.at>

Due to recent changes the TDA18250 driver requires now regmap_write_bits,
which is available since Kernel 4.3 only.

Signed-off-by: Jasmin Jessich <jasmin@anw.at>
---
 v4l/versions.txt | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
  

Comments

Jasmin J. Dec. 20, 2017, 9:55 a.m. UTC | #1
Hi!

I could test only the compilation for Kernel 3.13 due to my laptop I am using
on vacation. It should compile now for all Kernels from 4.2 .. 3.13 also.

BR,
   Jasmin
  

Patch

diff --git a/v4l/versions.txt b/v4l/versions.txt
index 072e7d6..6885a05 100644
--- a/v4l/versions.txt
+++ b/v4l/versions.txt
@@ -35,6 +35,8 @@  VIDEO_SOLO6X10
 [4.2.0]
 # needs led_trigger_remove
 V4L2_FLASH_LED_CLASS
+# needs regmap_write_bits
+MEDIA_TUNER_TDA18250
 
 [4.0.0]
 # needs of_property_read_u64_array
@@ -86,8 +88,6 @@  VIDEO_COBALT
 [3.13.0]
 # needs gpio/consumer.h
 RADIO_SI4713
-# needs regmap_reg_range
-MEDIA_TUNER_TDA18250
 
 [3.12.0]
 # BIN_ATTR_RW was changed