[PATCH] spi: remove fastcall crap

gcc4 generates warnings when a non-FASTCALL function pointer is assigned to a
FASTCALL one.  Perhaps it has taste.

Cc: David Brownell <david-b@pacbell.net>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
Andrew Morton
2006-01-11 11:23:49 -08:00
committed by Greg Kroah-Hartman
parent 7111763d39
commit 5d870c8e21
2 changed files with 7 additions and 2 deletions

View File

@@ -374,7 +374,7 @@ struct spi_message {
*/
/* completion is reported through a callback */
void FASTCALL((*complete)(void *context));
void (*complete)(void *context);
void *context;
unsigned actual_length;
int status;