aboutsummaryrefslogtreecommitdiff
path: root/include/asm-h8300
diff options
context:
space:
mode:
authorRemi Machet <rmachet@slac.stanford.edu>2008-04-22 03:36:48 +1000
committerPaul Mackerras <paulus@samba.org>2008-04-24 20:57:34 +1000
commit21dbfd291fe704986fab63a129f89ed2de471329 (patch)
treec1a498b6e0821573c451a5003c4ce37e06e6e7ec /include/asm-h8300
parent839ad62e75ee1968438d1b72261304cd47fc961e (diff)
[POWERPC] Use default values if necessary in mv64x60 I2C initialization
I2C parameters freq_m and freq_n are assigned defaults in the code, but if properties for those parameters are not found in the open firmware description the init routine returns an error and doesn't create the platform device. This changes the code so that it doesn't return an error if the properties are not found but instead uses the default values. Signed-off-by: Remi Machet (rmachet@slac.stanford.edu) Acked-by: Dale Farnsworth <dale@farnsworth.org> Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'include/asm-h8300')
0 files changed, 0 insertions, 0 deletions