1
0
Files
linux/include/linux
Hans de Goede 6d09dc6b74 of.h: Keep extern declaration of of_* variables when !CONFIG_OF
Keep the extern declaration of of_allnodes and friends, when building without
of support, this way code using them can be written like this:

	if (IS_ENABLED(CONFIG_OF_PLATFORM) && of_chosen) {
		for_each_child_of_node(of_chosen, np)
			...
	}

And rely on the compiler optimizing it away, avoiding the need for #ifdef-ery.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
2014-11-14 15:28:58 +02:00
..
2014-10-03 15:28:18 -06:00
2014-10-14 09:00:44 -06:00
2014-10-21 00:51:01 +02:00
2014-10-09 11:35:48 +03:00
2014-10-08 16:01:41 -04:00
2007-07-10 00:35:17 -04:00
2006-10-10 15:37:22 -07:00
2014-10-14 02:18:13 +02:00
2014-10-09 22:25:58 -04:00
2014-10-09 22:25:57 -04:00
2014-10-24 00:14:36 +02:00
2014-10-15 12:11:00 -04:00
2014-10-07 01:18:12 +02:00
2013-07-03 16:08:05 -07:00