[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>

authored by Andrew Morton and committed by Greg Kroah-Hartman 5d870c8e 7111763d

+7 -2
+6 -1
drivers/spi/spi.c
··· 480 480 481 481 /*-------------------------------------------------------------------------*/ 482 482 483 + static void spi_complete(void *arg) 484 + { 485 + complete(arg); 486 + } 487 + 483 488 /** 484 489 * spi_sync - blocking/synchronous SPI data transfers 485 490 * @spi: device with which data will be exchanged ··· 513 508 DECLARE_COMPLETION(done); 514 509 int status; 515 510 516 - message->complete = (void (*)(void *)) complete; 511 + message->complete = spi_complete; 517 512 message->context = &done; 518 513 status = spi_async(spi, message); 519 514 if (status == 0)
+1 -1
include/linux/spi/spi.h
··· 374 374 */ 375 375 376 376 /* completion is reported through a callback */ 377 - void FASTCALL((*complete)(void *context)); 377 + void (*complete)(void *context); 378 378 void *context; 379 379 unsigned actual_length; 380 380 int status;