summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* staging: sync: Add compat_ioctl handlers to sync driversDmitry Pervushin2013-03-292-0/+2
| | | | | | | | | | | | | | | | | The sync drivers are missing compat_ioctl handlers, so this patch adds them. The same change has been submitted to AOSP: https://android-review.googlesource.com/#/c/54901/ Change-Id: If1a1ecc3952b321c8d64c6a8b050104859efc4b1 Cc: Erik Gilling <konkers@android.com> Cc: Dmitry Pervushin <dmitry.pervushin@linaro.org> Cc: Bernhard Rosenkränzer <Bernhard.Rosenkranzer@linaro.org> Cc: Android Kernel Team <kernel-team@android.com> Signed-off-by: Dmitry Pervushin <dmitry.pervushin@linaro.org> Signed-off-by: John Stultz <john.stultz@linaro.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* staging: speakup: use native error codesAndy Shevchenko2013-03-293-21/+16
| | | | | | | | | | | | | | | The mapping as follows: E_RANGE -> ERANGE E_UNDEF -> ENODATA E_TOOLONG -> E2BIG SET_DEFAULT -> ERESTART As a side effect it fixes a bug in spk_var_store() where return code was mistakenly compared to negative value instead of positive. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Acked-by: Samuel Thibault <samuel.thibault@ens-lyon.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* staging: speakup: reuse native kernel functionsAndy Shevchenko2013-03-294-32/+3
| | | | | | | | | We have simple_strtoul and simple_strtol. Don't repeat their functionality here. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Acked-by: Samuel Thibault <samuel.thibault@ens-lyon.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* Merge tag 'iio-for-3.10b' of ↵Greg Kroah-Hartman2013-03-2923-409/+154
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | git://git.kernel.org/pub/scm/linux/kernel/git/jic23/iio into staging-next Jonathan writes: Second round of IIO cleanups for the 3.10 cycle 1) A nice little removal of the unwanted private pointer from struct iio_trigger. 2) Some clean up of the ad799x driver. 3) Couple of cleanups for the exynos_adc driver and some documentation. 4) Move the mxs-lradc initialization a little earlier in the driver to avoid wiping out the configuration just after setting it. A nice small set of worthy bits and bobs.
| * iio: adc: Document the regulator/clocks for exynos-adcDoug Anderson2013-03-291-0/+8
| | | | | | | | | | | | | | | | | | The exynos ADC won't work without a regulator called "vdd" and a clock called "adc". Document this fact in the device tree bindings. Signed-off-by: Doug Anderson <dianders@chromium.org> Reviewed-by: Naveen Krishna Chatradhi <ch.naveen@samsung.com> Signed-off-by: Jonathan Cameron <jic23@kernel.org>
| * iio: mxs-lradc: Do hardware initialization earlierAlexandre Belloni2013-03-291-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | We need to initialize hardware before registering the touchscreen. Else, we end up setting registers in mxs_lradc_ts_open(), getting called just after registering the touchscreen with input_register_device() and by the end of mxs_lradc_probe(), we reset the LRADC block hence losing the correct configuration. Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com> Acked-by: Marek Vasut <marex@denx.de> Signed-off-by: Jonathan Cameron <jic23@kernel.org> Cc: Fabio Estevam <fabio.estevam@freescale.com>
| * iio: exynos-adc: Fix typo in DT documentationSachin Kamat2013-03-291-2/+2
| | | | | | | | | | | | | | Fixes some typos in the documentation of exynos-adc.txt. Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org> Signed-off-by: Jonathan Cameron <jic23@kernel.org>
| * iio: exynos_adc: Remove redundant of_match_ptr macroSachin Kamat2013-03-291-1/+1
| | | | | | | | | | | | | | | | exynos_adc is a DT only driver and exynos_adc_match table is always compiled in. Hence remove the macro. Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org> Signed-off-by: Jonathan Cameron <jic23@kernel.org>
| * staging:iio:ad799x: Preallocate sample bufferLars-Peter Clausen2013-03-293-12/+15
| | | | | | | | | | | | | | | | | | Avoid allocating and freeing the sample buffer for each transfer. Instead allocate it once when we start sampling. Also pre-compute the number of bytes we need to transfer in the same way. Signed-off-by: Lars-Peter Clausen <lars@metafoo.de> Signed-off-by: Jonathan Cameron <jic23@kernel.org>
| * staging:iio:ad799x: Set IIO_CHAN_INFO_SCALE maskLars-Peter Clausen2013-03-291-0/+1
| | | | | | | | | | | | | | | | | | The driver has support for reporting a channels scale, but none of the channels set the IIO_CHAN_INFO_SCALE mask. Add the IIO_CHAN_INFO_SCALE to all channels to indicate that the drivers supports reporting the scale. Signed-off-by: Lars-Peter Clausen <lars@metafoo.de> Signed-off-by: Jonathan Cameron <jic23@kernel.org>
| * staging:iio:ad799x: Add helper macro for channel initializationLars-Peter Clausen2013-03-291-330/+56
| | | | | | | | | | | | | | | | The ad779x channels all follow the same pattern. Add a helper macro to initialize the channel spec, this allows us to drop quite a few lines. Signed-off-by: Lars-Peter Clausen <lars@metafoo.de> Signed-off-by: Jonathan Cameron <jic23@kernel.org>
| * staging:iio:ad799x: Use i2c_smbus_{read,write}_word_data_swappedLars-Peter Clausen2013-03-291-3/+3
| | | | | | | | | | | | | | Use i2c_smbus_{read,write}_word_data_swapped instead of open-coding it. Signed-off-by: Lars-Peter Clausen <lars@metafoo.de> Signed-off-by: Jonathan Cameron <jic23@kernel.org>
| * staging:iio:ad799x: Remove internal reference supportLars-Peter Clausen2013-03-292-14/+4
| | | | | | | | | | | | | | | | None of the devices supported by this driver have an internal voltage reference, so remove support for it from the driver. Signed-off-by: Lars-Peter Clausen <lars@metafoo.de> Signed-off-by: Jonathan Cameron <jic23@kernel.org>
| * staging:iio:ad799x: Remove unused ad799x_state fieldsLars-Peter Clausen2013-03-291-2/+0
| | | | | | | | | | | | | | Remove fields from the ad799x_state struct which are not used. Signed-off-by: Lars-Peter Clausen <lars@metafoo.de> Signed-off-by: Jonathan Cameron <jic23@kernel.org>
| * iio:trigger: Use dev_{set,get}_drvdata for private data managementLars-Peter Clausen2013-03-252-7/+2
| | | | | | | | | | | | | | | | Use dev_{set,get}_drvdata for managing private data attached to a trigger instead of using a custom field in the iio_trigger struct. Signed-off-by: Lars-Peter Clausen <lars@metafoo.de> Signed-off-by: Jonathan Cameron <jic23@kernel.org>
| * iio:trigger: Introduce iio_tigger_{set,get}_drvdataLars-Peter Clausen2013-03-2517-37/+61
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Introduce iio_tigger_{set,get}_drvdata which allows to attach driver specific data to a trigger. The functions wrap access to the triggers private_data field and all current users are updated to use iio_tigger_{set,get}_drvdata instead of directly accessing the private_data field. This is the first step towards removing the private_data field from the iio_trigger struct. The following coccinelle script has been used to update the drivers: <smpl> @@ struct iio_trigger *trigger; expression priv; @@ -trigger->private_data = priv +iio_trigger_set_drv_data(trigger, priv) @@ struct iio_trigger *trigger; @@ -trigger->private_data +iio_trigger_get_drv_data(trigger) </smpl> Signed-off-by: Lars-Peter Clausen <lars@metafoo.de> Signed-off-by: Jonathan Cameron <jic23@kernel.org>
* | staging: comedi: amplc_dio200: fix C99 array initializer warningsEmil Goode2013-03-291-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch fixes the following sparse warnings about use of obsolete array initializer: drivers/staging/comedi/drivers/amplc_dio200_pci.c:256:24: warning: obsolete array initializer, use C99 syntax drivers/staging/comedi/drivers/amplc_dio200_pci.c:269:24: warning: obsolete array initializer, use C99 syntax drivers/staging/comedi/drivers/amplc_dio200_pci.c:281:25: warning: obsolete array initializer, use C99 syntax drivers/staging/comedi/drivers/amplc_dio200_pci.c:298:25: warning: obsolete array initializer, use C99 syntax drivers/staging/comedi/drivers/amplc_dio200_pci.c:315:25: warning: obsolete array initializer, use C99 syntax Signed-off-by: Emil Goode <emilgoode@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* | staging: comedi: rtd520: remove utcGate from private dataH Hartley Sweeten2013-03-291-3/+0
| | | | | | | | | | | | | | | | This variable in the private data is not used. Remove it. Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com> Reviewed-by: Ian Abbott <abbotti@mev.co.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* | staging: comedi: rtd520: remove utcCtrl from private dataH Hartley Sweeten2013-03-291-11/+4
| | | | | | | | | | | | | | | | This variable in the private data is not necessary. Remove it. Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com> Reviewed-by: Ian Abbott <abbotti@mev.co.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* | staging: comedi: rtd520: remove intClearMask from private dataH Hartley Sweeten2013-03-291-9/+4
| | | | | | | | | | | | | | | | This variable in the private data is not necessary. Remove it. Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com> Reviewed-by: Ian Abbott <abbotti@mev.co.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* | staging: comedi: rtd520: remove intMask from private dataH Hartley Sweeten2013-03-291-13/+6
| | | | | | | | | | | | | | | | This variable in the private data is not necessary. Remove it. Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com> Reviewed-by: Ian Abbott <abbotti@mev.co.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* | staging: comedi: rtd520: remove dioStatus from private dataH Hartley Sweeten2013-03-291-7/+7
| | | | | | | | | | | | | | | | This variable in the private data is not necessary. Remove it. Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com> Reviewed-by: Ian Abbott <abbotti@mev.co.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* | staging: comedi: rtd520: merge private header into driverH Hartley Sweeten2013-03-292-146/+115
| | | | | | | | | | | | | | | | | | Move the #define's in the private rtd520.h header into the source file and delete the header. Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com> Reviewed-by: Ian Abbott <abbotti@mev.co.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* | staging: comedi: rtd520: cleanup multi-line commentsH Hartley Sweeten2013-03-291-96/+94
| | | | | | | | | | | | | | | | | | Cleanup the multi-line comments at the beginning of the file so they follow the CodingStyle. Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com> Reviewed-by: Ian Abbott <abbotti@mev.co.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* | staging: comedi: rtd520: cleanup rtd_dio_insn_config()H Hartley Sweeten2013-03-291-217/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | Add a local variable to make this function a bit cleaner and remove the unnecessary comments. The comedi core expects this function to return the number of data parameters used. Change the return from '1' to 'insn->n' to make this more apparent. Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com> Reviewed-by: Ian Abbott <abbotti@mev.co.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* | staging: comedi: rtd520: cleanup rtd_dio_insn_bits()H Hartley Sweeten2013-03-291-19/+8
| | | | | | | | | | | | | | | | | | Add some local variables to make this function a bit cleaner and remove the unnecessary comments. Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com> Reviewed-by: Ian Abbott <abbotti@mev.co.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* | staging: comedi: rtd520: use pci_ioremap_bar()H Hartley Sweeten2013-03-291-6/+3
| | | | | | | | | | | | | | | | Use pci_ioremap_bar() to ioremap the PCI bars used by this driver. Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com> Reviewed-by: Ian Abbott <abbotti@mev.co.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* | staging: comedi: rtd520: use plx register map from plx9080.hH Hartley Sweeten2013-03-292-23/+4
| | | | | | | | | | | | | | | | | | Use the register map defines for the PLX9080 found in plx9080.h instead of the custom named defines in rtd520.h. Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com> Reviewed-by: Ian Abbott <abbotti@mev.co.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* | staging: comedi: s626: remove the "interrupt call test"H Hartley Sweeten2013-03-291-9/+0
| | | | | | | | | | | | | | | | | | This commented out code in s626_ai_insn_read() is just left over development test code. Remove it. Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com> Reviewed-by: Ian Abbott <abbotti@mev.co.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* | staging: comedi: s626: async commands require an interruptH Hartley Sweeten2013-03-291-4/+6
| | | | | | | | | | | | | | | | | | Only hook up the analog input command support if the interrupt is available. Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com> Reviewed-by: Ian Abbott <abbotti@mev.co.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* | staging: comedi: s626: remove the ai (*insn_config) functionH Hartley Sweeten2013-03-291-10/+0
| | | | | | | | | | | | | | | | | | This subdevice function is not implemented in the driver. Just remove it. Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com> Reviewed-by: Ian Abbott <abbotti@mev.co.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* | staging: comedi: s626: cleanup subdevice initH Hartley Sweeten2013-03-291-55/+54
| | | | | | | | | | | | | | | | For aesthetic reasons, add some whitespace to the subdevice init. Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com> Reviewed-by: Ian Abbott <abbotti@mev.co.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* | staging: comedi: s626: remove subdevice pointer mathH Hartley Sweeten2013-03-291-6/+6
| | | | | | | | | | | | | | | | | | Convert the comedi_subdevice access from pointer match to array access. Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com> Reviewed-by: Ian Abbott <abbotti@mev.co.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* | staging: comedi: s626: cleanup s626_dio_insn_bits()H Hartley Sweeten2013-03-291-20/+9
| | | | | | | | | | | | | | | | | | Add some local variables to make this function a bit clearer and remove the unnecessary comments. Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com> Reviewed-by: Ian Abbott <abbotti@mev.co.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* | staging: comedi: s626: cleanup s626_dio_insn_config()H Hartley Sweeten2013-03-291-8/+8
| | | | | | | | | | | | | | | | | | | | | | | | Add some local variables to make this function a bit cleaner. The comedi core expects this function to return the number of data parameters used. Change the return from '1' to insn->n to make this more aparent. Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com> Reviewed-by: Ian Abbott <abbotti@mev.co.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* | staging: comedi: s626: remove the uint16_t casts of the bit valuesH Hartley Sweeten2013-03-292-54/+50
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | There are a number of uint16_t casts used in the #define's of the constant bit field values as well as the calls to DEBIreplace(). These cause a number of sparse warnings of the type: warning: cast truncates bits from constant value (ffff1cff becomes 1cff) Remove all of the casts and change the types of the parameters to DEBIreplace from uin16_t to unsigned int. This fixes all the warnings. Mask the addr that is or'ed with DEBI_CMD_RDWORD then written to the P_DEBICMD register as well as the val written to the P_DEBIAD register with 0xffff. The addr and val are only 16-bits but the registers are 32-bits. Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com> Reviewed-by: Ian Abbott <abbotti@mev.co.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* | staging: comedi: s626: rename private data 'base_addr' variableH Hartley Sweeten2013-03-291-92/+92
| | | | | | | | | | | | | | | | | | | | | | | | The base_address variable in the private data is the ioremap'ed PCI bar 0 resource. For aesthetic reasons, and to shorten some of the lines, rename this variable to 'mmio'. Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com> Reviewed-by: Ian Abbott <abbotti@mev.co.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* | staging: comedi: s626: remove RR7146 macroH Hartley Sweeten2013-03-291-51/+43
| | | | | | | | | | | | | | | | | | | | This macro relies on a local variable having a specific name its also just a wrapper around a readl() call. Remove the macro and just call readl() directly. Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com> Reviewed-by: Ian Abbott <abbotti@mev.co.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* | staging: comedi: s626: remove WR7146 and SETVECT macrosH Hartley Sweeten2013-03-291-84/+88
| | | | | | | | | | | | | | | | | | | | | | | | | | The WR7146 macro relies on a local variable having a specific name. This macro is a wrapper around a writel() call. Remove the macro and just call writel() directly. The SETVEC macro uses the WR7146 macro so remove it as well and just do the writel() directly. Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com> Reviewed-by: Ian Abbott <abbotti@mev.co.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* | staging: comedi: s626: remove MC_TEST macroH Hartley Sweeten2013-03-291-7/+18
| | | | | | | | | | | | | | | | | | This macro relies on a local variable having a specific name. Replace it with a new helper function, s626_mc_test(). Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com> Reviewed-by: Ian Abbott <abbotti@mev.co.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* | staging: xgifb: rename SR15/SR13 arrays to SR18Aaro Koskinen2013-03-294-9/+9
| | | | | | | | | | | | | | | | Since we are programming SR register 18, better name structs/arrays accordingly to avoid confusion. Signed-off-by: Aaro Koskinen <aaro.koskinen@iki.fi> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* | staging: xgifb: make SR15/SR13 arrays single dimensionalAaro Koskinen2013-03-293-21/+9
| | | | | | | | | | | | | | Since we only access the third row, we can delete the others. Signed-off-by: Aaro Koskinen <aaro.koskinen@iki.fi> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* | staging: xgifb: XGINew_SetDRAMDefaultRegister340: inline the value of SR1BAaro Koskinen2013-03-292-7/+3
| | | | | | | | | | | | | | SR1B register value is always 3 regardless of video card or RAM type. Signed-off-by: Aaro Koskinen <aaro.koskinen@iki.fi> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* | staging: xgifb: delete pXGINew_DRAMTypeDefinitionAaro Koskinen2013-03-291-1/+0
| | | | | | | | | | | | | | Delete unused struct field. Signed-off-by: Aaro Koskinen <aaro.koskinen@iki.fi> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* | staging: xgifb: delete XGI330_LCDCapStruct.PWD_2xAaro Koskinen2013-03-292-19/+14
| | | | | | | | | | | | | | Delete unused XGI330_LCDCapStruct fields. Signed-off-by: Aaro Koskinen <aaro.koskinen@iki.fi> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* | staging: xgifb: delete XGI330_LCDCapStruct.PSC_SxAaro Koskinen2013-03-292-19/+14
| | | | | | | | | | | | | | Delete unused XGI330_LCDCapStruct fields. Signed-off-by: Aaro Koskinen <aaro.koskinen@iki.fi> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* | staging: xgifb: delete LCD_SetFlagAaro Koskinen2013-03-293-19/+14
| | | | | | | | | | | | | | Delete redundant XGI330_LCDCapStruct field. Signed-off-by: Aaro Koskinen <aaro.koskinen@iki.fi> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* | staging: xgifb: delete IF_DEF_TRUMPION and IF_DEF_DSTNAaro Koskinen2013-03-291-1/+1
| | | | | | | | | | | | | | Delete some unused flags. Signed-off-by: Aaro Koskinen <aaro.koskinen@iki.fi> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* | staging: xgifb: eliminate IF_DEF_LVDS checks from vb_initAaro Koskinen2013-03-291-15/+10
| | | | | | | | | | | | | | | | | | Inside vb_init, IF_DEF_LVDS tells only if the vbios was succesfully read on XG21. Rearrange the code so that we don't need to set or care about this flag. Signed-off-by: Aaro Koskinen <aaro.koskinen@iki.fi> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* | staging: xgifb: delete redundant IF_DEF_LVDS checkAaro Koskinen2013-03-291-11/+8
| | | | | | | | | | | | | | IF_DEF_LVDS can be set only on XG21. Signed-off-by: Aaro Koskinen <aaro.koskinen@iki.fi> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>