Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

OF: add empty of_device_is_available for !OF

Add an empty version of of_device_is_available.

Signed-off-by: Rob Herring <rob.herring@calxeda.com>

+5
+5
include/linux/of.h
··· 379 379 return 0; 380 380 } 381 381 382 + static inline int of_device_is_available(const struct device_node *device) 383 + { 384 + return 0; 385 + } 386 + 382 387 static inline struct property *of_find_property(const struct device_node *np, 383 388 const char *name, 384 389 int *lenp)