On Fri, 14 Dec 2007 21:24:38 +0300 Anton Vorontsov <avorontsov@xxxxxxxxxxxxx> wrote: > > + prop = (u32 *)of_get_property(dn, "reg-shift", NULL); This cast is unnecessary. > + if (prop) > + reg_shift = *prop; > + > + prop = (u32 *)of_get_property(dn, "pio-mode", NULL); So is this one. -- Cheers, Stephen Rothwell sfr@xxxxxxxxxxxxxxxx http://www.canb.auug.org.au/~sfr/
Attachment:
pgp4thx60acYe.pgp
Description: PGP signature