aboutsummaryrefslogtreecommitdiff
path: root/net/unix/sysctl_net_unix.c
diff options
context:
space:
mode:
authorBo Shen <[email protected]>2012-10-15 17:30:28 +0800
committerNicolas Ferre <[email protected]>2012-10-24 18:08:48 +0200
commit302090a66b85bb82023b07a715f9c9a347be2ac8 (patch)
treeabaefce04370dad8d0bf67caf2bfbbd594aaeb10 /net/unix/sysctl_net_unix.c
parent7840487cd6298f9f931103b558290d8d98d41c49 (diff)
ARM: at91/i2c: change id to let i2c-at91 work
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 <[email protected]> Signed-off-by: Nicolas Ferre <[email protected]> Acked-by: Jean-Christophe PLAGNIOL-VILLARD <[email protected]> Acked-by: Ludovic Desroches <[email protected]>
Diffstat (limited to 'net/unix/sysctl_net_unix.c')
0 files changed, 0 insertions, 0 deletions