summaryrefslogtreecommitdiff
path: root/net/mac80211
diff options
context:
space:
mode:
authorBo Shen <voice.shen@atmel.com>2012-10-15 17:30:27 +0800
committerBen Hutchings <ben@decadent.org.uk>2012-11-16 16:46:55 +0000
commitc5cb6b2df5fa914f57a36b7b03b01a4d9d29030f (patch)
tree458ffeb89ef9ad1bf36ca497c88c3e908a7db654 /net/mac80211
parent51e7f9ffd8d337512bc0663a9e56a7bdd1b55f37 (diff)
ARM: at91/i2c: change id to let i2c-gpio work
commit 7840487cd6298f9f931103b558290d8d98d41c49 upstream. The i2c core driver will turn the platform device ID to busnum When using platfrom device ID as -1, it means dynamically assigned the busnum. When writing code, we need to make sure the busnum, and call i2c_register_board_info(int busnum, ...) to register device if using -1, we do not know the value of busnum In order to solve this issue, set the platform device ID as a fix number Here using 0 to match the busnum used in i2c_regsiter_board_info() Signed-off-by: Bo Shen <voice.shen@atmel.com> Acked-by: Jean Delvare <khali@linux-fr.org> Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com> Acked-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Acked-by: Ludovic Desroches <ludovic.desroches@atmel.com> Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Diffstat (limited to 'net/mac80211')
0 files changed, 0 insertions, 0 deletions