spi/pl022: fix dubious allocation staticize platform data
authorLinus Walleij <linus.walleij@stericsson.com>
Fri, 1 Oct 2010 11:33:13 +0000 (13:33 +0200)
committerGrant Likely <grant.likely@secretlab.ca>
Wed, 13 Oct 2010 03:37:37 +0000 (21:37 -0600)
This removes some dubious allocation of a local chipinfo struct
in favor of a constant preset, tagging that one const revealed
further problems with platform data being modified so fixed up
these too.

Reported-by: Virupax Sadashivpetimath <virupax.sadashivpetimath@stericsson.com>
Signed-off-by: Linus Walleij <linus.walleij@stericsson.com>
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>

No differences found