From: Dave Martin Date: Tue, 13 Sep 2011 00:49:29 +0000 (+0000) Subject: net/smsc911x: Correctly configure 16-bit register access from DT X-Git-Tag: v3.2-rc1~129^2~245^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f26cd41ae56f3c0ef4521505ad5b6e3940849c33;p=pandora-kernel.git net/smsc911x: Correctly configure 16-bit register access from DT The SMSC911X_USE_16BIT needs to be set when using 16-bit register access. However, currently no flag is set if the device tree doesn't specify 32-bit access, resulting in a BUG() and a non- working driver when 16-bit register access is configured for smsc911x in the DT. This patch should set the SMSC911X_USE_16BIT flag in a manner consistent with the documented DT bindings. Signed-off-by: Dave Martin Acked-by: Grant Likely Signed-off-by: David S. Miller --- Reading git-diff-tree failed