Renesas ARM Based SoC Fixes for v4.12

* Provide dummy rcar_rst_read_mode_pins() for compile-testing
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1
 
 iQIcBAABAgAGBQJZCEPoAAoJENfPZGlqN0++0pYP/02Iqjtr7TD1P3y/mZZSiT9x
 wtbqhhoB8xQ10vi/047abdQfwhQzlSVYa1fMbgbIH2Who88kIiy6VhxixE9qVPhA
 KZOEfojfxgNuRJrpheTR5TeU0LatIFNVUz5D0h0JWLN5745v/vGk/5eon3+aRpKq
 lJTdSuKqYEtoj1PSxhqVzPJLWly4MfNIuHKsIJ22vDFDJJQy6jGbqaPwpZ3pHHtf
 qspoa1Ilzi3NtWe/ui2hBTFmnKJfnL4awAH0GghWtc06/5ZczK8rCsoIFbO2e8lx
 6QUTuRj0Hfp7V95a1yjEqwd00JiJB4eROJFmqJXXj9cxGSIGcwFVzwvQNudSSWq+
 7wKBO62/IwW2B80aPEKKx0NA4+654zpmlEU2HDSOFJtvriJquD+y3/OqJzVUJrvm
 /LNlC3h0Zy8dET50v3hAL1GzHHhdTxhyJunD82DvTfYiXSGndCYvTxs66BU/lpd4
 GXGJSu3/EvM+YFVwzPFZflTx2OL3SKOwIN7jULj3t/tH8kc+hL9Fe/Oqo5/j7MpR
 r238XZVXWkjW5imaqOrGclH7fy40gp7mywqkVbfM238MwBqul4BQadyUMQbNDFpS
 ukVRajzB1q4gkrZgLzt1+l8UWvV+eJHYmJJJ2whGd+g34cqtX6aU7JMU9+5WEmiW
 Gc27WaGHs94KkW1HLJGv
 =2os1
 -----END PGP SIGNATURE-----

Merge tag 'renesas-fixes-for-v4.12' of https://git.kernel.org/pub/scm/linux/kernel/git/horms/renesas into fixes

Pull "Renesas ARM Based SoC Fixes for v4.12" from Simon Horman:

* Provide dummy rcar_rst_read_mode_pins() for compile-testing

* tag 'renesas-fixes-for-v4.12' of https://git.kernel.org/pub/scm/linux/kernel/git/horms/renesas:
  soc: renesas: Provide dummy rcar_rst_read_mode_pins() for compile-testing
This commit is contained in:
Arnd Bergmann 2017-05-10 15:33:45 +02:00
commit 9dfe29d9d2

View file

@ -1,6 +1,11 @@
#ifndef __LINUX_SOC_RENESAS_RCAR_RST_H__
#define __LINUX_SOC_RENESAS_RCAR_RST_H__
#if defined(CONFIG_ARCH_RCAR_GEN1) || defined(CONFIG_ARCH_RCAR_GEN2) || \
defined(CONFIG_ARCH_R8A7795) || defined(CONFIG_ARCH_R8A7796)
int rcar_rst_read_mode_pins(u32 *mode);
#else
static inline int rcar_rst_read_mode_pins(u32 *mode) { return -ENODEV; }
#endif
#endif /* __LINUX_SOC_RENESAS_RCAR_RST_H__ */