From: Andrew Victor Date: Wed, 2 Apr 2008 20:55:19 +0000 (+0100) Subject: [ARM] 4908/1: [AT91] RTT platform_device fix X-Git-Tag: v2.6.26-rc1~1131^2~2^2~16 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4fd9212cb9bad88ec7c8bf5313f53331905f957a;p=pandora-kernel.git [ARM] 4908/1: [AT91] RTT platform_device fix The RTT-as-RTC driver will search for the user-specified RTT peripheral via ID number (0 .. 1). Therefore if the processor only contains a single RTT peripheral, we need to set its platform_device.id to "0" instead of "-1". Also add the missing platform_device resource for the CAP9 processor. Bug reported by Sedji Gaouaou. Signed-off-by: Andrew Victor Signed-off-by: Russell King --- Reading git-diff-tree failed