From: Sebastian Ott Date: Sat, 13 Apr 2013 11:06:27 +0000 (+0200) Subject: s390/cio: fix early init counter usage X-Git-Tag: omap-for-v3.10/dt-fixes-for-merge-window~146^2~32 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0ad8f714a135cf993606c21fc1ed0e303ef17c0d;p=pandora-kernel.git s390/cio: fix early init counter usage Via ccw_device_init_count we keep track of how many devices are in asynchronous device recognition/initialization. For early devices this variable was not only used prior to its initialization but used incorrectly (incremented but never decremented). Fix this by using static initialization for this variable (and friends), make them visible to device.c only, and decrement the counter after recognition of early devices is finished. Reviewed-by: Peter Oberparleiter Signed-off-by: Sebastian Ott Signed-off-by: Martin Schwidefsky --- Reading git-diff-tree failed