summaryrefslogtreecommitdiff
path: root/mm/pagewalk.c
diff options
context:
space:
mode:
authorBo Shen <voice.shen@atmel.com>2012-10-15 09:30:27 (GMT)
committerNicolas Ferre <nicolas.ferre@atmel.com>2012-10-24 16:08:48 (GMT)
commit7840487cd6298f9f931103b558290d8d98d41c49 (patch)
tree95c2612f09daf545cbd08bd0ad8a75ef2926173f /mm/pagewalk.c
parentb6edfbeacd5804038ea7ea8821a83ad704c107cc (diff)
downloadlinux-fsl-qoriq-7840487cd6298f9f931103b558290d8d98d41c49.tar.xz
ARM: at91/i2c: change id to let i2c-gpio 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 <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> Cc: stable <stable@vger.kernel.org> [very long time]
Diffstat (limited to 'mm/pagewalk.c')
0 files changed, 0 insertions, 0 deletions