From: Lee Jones Date: Tue, 8 May 2012 12:59:38 +0000 (+0100) Subject: mmc: mmci: Fix compiler error when CONFIG_OF is not set X-Git-Tag: v3.5-rc1~85^2~20 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c0a120a4bc68f5dc5f5238e76013cc18bac0ffed;p=pandora-kernel.git mmc: mmci: Fix compiler error when CONFIG_OF is not set error: implicit declaration of function 'mmci_dt_populate_generic_pdata' This is due to the '#if CONFIG_OF' guards placed around mmci_dt_populate_generic_pdata(), but not around the call to it. We repair this by inserting a stub which elegantly returns when CONFIG_OF is not set. Reported-by: Paul Gortmaker Signed-off-by: Lee Jones Signed-off-by: Chris Ball --- Reading git-diff-tree failed