ltq-adsl: fix compilation with Linux 5.0+
authorMathias Kresin <dev@kresin.me>
Tue, 3 Mar 2020 23:39:59 +0000 (00:39 +0100)
committerMathias Kresin <dev@kresin.me>
Mon, 16 Mar 2020 21:28:16 +0000 (22:28 +0100)
commita6698551e5bc4b2f049b3303a664ae67d6a0494e
treea04f7e740d17959b80465e24d5a83f2e3e79d85a
parenta3539c82cb38366151019438ea841e8ae47cb1c2
ltq-adsl: fix compilation with Linux 5.0+

Upstream commit e4b92b108c6cd6 ("timekeeping: remove obsolete time
accessors") removed do_gettimeofday(). In Linux 4.19 this was only a
wrapper around ktime_get_real_ts64(). Use ktime_get_real_ts64() now that
the wrapper is gone to fix compilation against Linux 5.4.

Move the ifxmips_mei_interface header to the include directory, it can't
be found otherwise during compilation. The reason for the changed
behaviour is not yet clear, however having header files in an include
directory is more straight forward.

To use the of_device_id struct, the mod_devicetable header need to be
included. Instead of including this header, include the of_platform
header, which includes the mod_devicetable on its own.

Signed-off-by: Mathias Kresin <dev@kresin.me>
package/kernel/lantiq/ltq-adsl/patches/100-dsl_compat.patch
package/kernel/lantiq/ltq-adsl/patches/120-platform.patch
package/kernel/lantiq/ltq-adsl/patches/130-linux3.8.patch