spi: takes size of a pointer to determine the size of the pointed-to type
authorRoel Kluin <roel.kluin@gmail.com>
Tue, 16 Jun 2009 22:31:15 +0000 (15:31 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 17 Jun 2009 02:47:27 +0000 (19:47 -0700)
commit021415468c889979117b1a07b96f7e36de33e995
treee480ae34231f8ff5a5b85ee67c82d2861751a88f
parent08604bd9935dc98fb62ef61d5b7baa7ccc10f8c2
spi: takes size of a pointer to determine the size of the pointed-to type

Do not take the size of a pointer to determine the size of the pointed-to
type.

Signed-off-by: Roel Kluin <roel.kluin@gmail.com>
Acked-by: Anton Vorontsov <avorontsov@ru.mvista.com>
Cc: David Brownell <david-b@pacbell.net>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: Kumar Gala <galak@gate.crashing.org>
Acked-by: Grant Likely <grant.likely@secretlab.ca>
Cc: <stable@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/spi/spi_mpc83xx.c