Files
msm-5.15/include/linux
Arnd Bergmann 8a1ac5dc7b include/linux/of.h: provide of_n_{addr,size}_cells wrappers for !CONFIG_OF
The pci-rcar driver is enabled for compile tests, and this has shown that
the driver cannot build without CONFIG_OF, following the inclusion of
commit f8f2fe7355 ("PCI: rcar: Use new OF interrupt mapping when possible"):

  drivers/pci/host/pcie-rcar.c: In function 'pci_dma_range_parser_init':
  drivers/pci/host/pcie-rcar.c:1039:2: error: implicit declaration of function 'of_n_addr_cells' [-Werror=implicit-function-declaration]
    parser->pna = of_n_addr_cells(node);
    ^

As pointed out by Ben Dooks and Geert Uytterhoeven, this is actually
supposed to build fine, which we can achieve if we make the declaration
of of_irq_parse_and_map_pci conditional on CONFIG_OF and provide an
empty inline function otherwise, as we do for a lot of other of
interfaces.

This lets us build the rcar_pci driver again without CONFIG_OF for build
testing.  All platforms using this driver select OF, so this doesn't
change anything for the users.

[akpm@linux-foundation.org: be consistent with surrounding code]
Link: http://lkml.kernel.org/r/20170911200805.3363318-1-arnd@arndb.de
Fixes: c25da47788 ("PCI: rcar: Add Renesas R-Car PCIe driver")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Reviewed-by: Frank Rowand <frank.rowand@sony.com>
Acked-by: Geert Uytterhoeven <geert+renesas@glider.be>
Cc: Bjorn Helgaas <bhelgaas@google.com>
Cc: Magnus Damm <damm@opensource.se>
Cc: Ben Dooks <ben.dooks@codethink.co.uk>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2017-10-13 16:18:32 -07:00
..
2017-09-06 19:56:49 +02:00
2017-10-04 10:22:55 +02:00
2016-07-08 16:23:11 +02:00
2017-09-01 16:35:50 -05:00
2016-12-22 22:58:37 -05:00
2005-04-16 15:20:36 -07:00
2012-10-08 13:50:20 +10:30
2011-03-11 14:25:50 +00:00
2017-06-08 18:52:36 -07:00
2017-09-08 18:26:49 -07:00
2017-07-17 17:26:14 +02:00
2017-07-06 16:24:33 -07:00
2017-01-25 13:17:47 -05:00
2009-11-20 20:13:39 +01:00
2009-11-20 20:13:39 +01:00
2017-07-03 16:56:28 -06:00
2017-06-05 16:59:12 +02:00
2017-04-18 20:41:12 +02:00
2017-08-30 14:40:40 +02:00
2017-09-04 00:05:22 +02:00
2017-09-04 00:06:02 +02:00
2017-06-09 11:52:07 +02:00
2008-12-25 11:01:43 +11:00
2017-09-05 12:53:11 +02:00
2016-12-05 19:01:16 -05:00
2017-08-24 13:23:03 -07:00
2012-02-20 19:46:36 +11:00
2016-10-28 08:48:16 -06:00
2012-09-30 18:02:20 -07:00
2017-07-17 13:42:48 +02:00
2012-10-16 18:49:15 -07:00
2008-01-28 23:21:18 +01:00
2016-05-17 15:48:12 -04:00
2017-08-03 19:09:26 -07:00
2017-08-01 17:33:02 +02:00
2017-08-07 17:22:14 +02:00
2017-04-27 05:13:04 -04:00
2014-12-31 13:06:50 -05:00
2016-12-05 19:01:16 -05:00
2014-10-09 11:35:48 +03:00
2017-07-07 20:09:10 -04:00
2009-06-18 13:04:05 -07:00
2014-08-06 18:01:24 -07:00
2007-07-10 00:35:17 -04:00
2015-05-12 10:46:53 +02:00
2017-03-21 10:15:47 +02:00
2010-02-09 11:13:56 +01:00
2017-09-08 18:26:46 -07:00
2011-03-31 11:26:23 -03:00
2010-03-07 22:17:09 +01:00
2011-07-01 10:37:15 +02:00
2017-05-18 10:07:41 -04:00
2017-05-18 10:07:40 -04:00
2008-08-02 18:36:10 +01:00
2017-06-21 14:37:12 -04:00
2017-07-10 16:32:34 -07:00
2006-10-10 15:37:22 -07:00
2012-03-20 12:47:48 +01:00
2017-08-15 18:23:52 +02:00
2017-01-05 15:01:55 -06:00
2014-03-13 12:11:00 +10:30
2016-01-28 14:19:12 -08:00
2013-07-26 16:19:48 -07:00
2016-03-22 15:36:02 -07:00
2016-03-22 15:36:02 -07:00
2015-07-28 08:50:42 +01:00
2011-01-24 14:45:11 +10:30
2013-08-28 21:35:14 -07:00
2017-08-14 13:33:39 -07:00
2008-07-04 10:40:05 -07:00
2017-05-03 15:52:10 -07:00
2011-09-16 19:20:20 -04:00
2015-04-29 17:17:17 -05:00
2017-08-17 15:33:39 -04:00
2017-02-24 17:46:57 -08:00
2005-04-16 15:20:36 -07:00
2017-08-28 20:51:22 +02:00
2017-09-07 11:53:11 +02:00
2017-08-18 15:32:01 -07:00
2017-04-24 14:30:46 -04:00
2017-01-12 16:48:26 -05:00
2017-07-13 16:00:15 -04:00
2017-08-20 13:04:12 -04:00
2016-04-25 15:09:11 -04:00
2014-01-25 03:14:05 -05:00
2016-02-16 13:04:58 -05:00
2017-07-06 11:30:07 -04:00
2017-07-25 18:05:25 +02:00
2017-09-25 08:56:05 -06:00
2017-05-26 10:10:37 +02:00
2017-09-06 17:27:26 -07:00
2016-12-06 10:17:03 +02:00
2015-04-12 21:03:31 +02:00
2016-02-11 18:35:48 -08:00
2016-03-14 15:43:11 -04:00
2017-08-06 20:55:29 -07:00
2017-08-06 20:55:29 -07:00
2017-08-21 12:47:31 -07:00
2016-10-31 16:18:30 -04:00
2016-10-14 11:36:59 -07:00
2011-03-31 11:26:23 -03:00
2017-09-08 18:26:47 -07:00
2017-08-16 16:28:47 -07:00
2016-03-17 15:09:34 -07:00
2010-02-10 17:47:17 -08:00
2017-06-29 10:48:57 +01:00
2017-08-24 16:34:51 +02:00
2013-06-17 16:38:57 -07:00
2009-04-08 14:33:38 -07:00
2017-07-06 16:24:30 -07:00
2016-01-04 16:11:11 -05:00
2017-08-16 16:28:47 -07:00
2017-08-03 21:37:29 -07:00
2005-04-16 15:20:36 -07:00
2016-12-26 23:53:46 -05:00
2017-06-08 18:52:42 -07:00
2010-08-09 16:48:44 -04:00
2017-06-01 14:53:04 -04:00
2017-09-11 12:29:41 -04:00
2013-04-30 15:50:12 +05:30
2011-08-16 00:16:49 -07:00
2017-09-15 16:57:10 +02:00
2005-04-16 15:20:36 -07:00
2017-01-10 18:31:55 -08:00
2015-10-01 09:57:59 -07:00
2010-11-29 08:55:25 +11:00
2017-08-28 16:15:42 +02:00
2005-04-16 15:20:36 -07:00
2017-07-24 17:50:37 +02:00
2014-11-28 16:08:16 +01:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2017-05-09 16:43:22 +03:00
2017-09-08 18:26:48 -07:00
2017-08-31 18:50:14 +02:00
2017-09-05 06:34:17 -07:00
2017-08-15 09:02:07 -07:00
2011-01-13 08:03:24 -08:00
2013-10-17 15:53:09 -04:00
2015-09-08 15:35:28 -07:00
2017-08-15 09:02:08 -07:00