On Fri, 14 Dec 2007 21:24:38 +0300 Anton Vorontsov <[EMAIL PROTECTED]> 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 [EMAIL PROTECTED] http://www.canb.auug.org.au/~sfr/
pgptw0fhYdfpr.pgp
Description: PGP signature
