Anton Vorontsov 56825c88ff powerpc/cpm: Reintroduce global spi_pram struct (fixes build issue)
spi_t was removed in commit 644b2a680ccc51a9ec4d6beb12e9d47d2dee98e2
("powerpc/cpm: Remove SPI defines and spi structs"), the commit assumed
that spi_t isn't used anywhere outside of the spi_mpc8xxx driver. But
it appears that the struct is needed for micropatch code. So, let's
reintroduce the struct.

Fixes the following build issue:

    CC      arch/powerpc/sysdev/micropatch.o
  micropatch.c: In function 'cpm_load_patch':
  micropatch.c:629: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
  micropatch.c:629: error: 'spp' undeclared (first use in this function)
  micropatch.c:629: error: (Each undeclared identifier is reported only once
  micropatch.c:629: error: for each function it appears in.)

Reported-by: LEROY Christophe <christophe.leroy@c-s.fr>
Reported-by: Tony Breeds <tony@bakeyournoodle.com>
Cc: <stable@kernel.org> [ .33, .34 ]
Signed-off-by: Anton Vorontsov <avorontsov@mvista.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
2010-07-11 11:03:22 -05:00
..
2010-05-17 12:18:30 +03:00
2010-02-01 14:00:30 +11:00
2009-12-10 20:08:15 -06:00
2010-05-17 12:18:23 +03:00
2010-05-17 12:18:21 +03:00
2010-05-17 12:18:58 +03:00
2010-03-01 12:36:06 -03:00
2010-05-17 12:18:55 +03:00
2010-05-17 12:18:34 +03:00
2009-12-09 17:09:33 +11:00
2010-05-05 09:11:10 -04:00
2010-05-05 09:11:10 -04:00
2009-10-30 17:21:28 +11:00
2010-03-05 03:04:08 -06:00
2010-03-05 03:04:08 -06:00
2010-05-17 12:18:43 +03:00
2009-12-09 17:10:37 +11:00
2010-03-05 03:04:08 -06:00
2010-03-12 15:52:32 -08:00