From: Cedric Le Goater Date: Wed, 30 Oct 2013 13:47:06 +0000 (+0100) Subject: powerpc/nvram: Scan partitions only once X-Git-Tag: omap-for-v3.13/fixes-for-merge-window-take2~19^2~19 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=65f36f4149ce4490b2174ef45e1dbe494f4b8268;p=pandora-kernel.git powerpc/nvram: Scan partitions only once nvram_scan_partitions() is called twice when initializing the "lnx,oops-log" partition and the "ibm,rtas-log" partition. This fills the partition list with duplicate entries. This patch moves the partition scan in the init routine pseries_nvram_init_log_partitions() which is called only once. Signed-off-by: Cedric Le Goater Signed-off-by: Benjamin Herrenschmidt --- Reading git-diff-tree failed