From: Sebastian Ott Date: Fri, 18 Dec 2009 16:43:15 +0000 (+0100) Subject: [S390] cio: fix drvdata usage for the console subchannel X-Git-Tag: v2.6.33-rc2~51^2~12 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ffa8d2a3e80a3f0dee9886947dbd506d2bb226d2;p=pandora-kernel.git [S390] cio: fix drvdata usage for the console subchannel Using dev_set_drvdata prior to device_register will force the driver core to kmalloc its private data. Since we use this for the console subchannel lets set the drvdata before taking the subchannels spinlock. Signed-off-by: Sebastian Ott Signed-off-by: Martin Schwidefsky --- Reading git-diff-tree failed