aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux
diff options
context:
space:
mode:
authorAndrew Morton <akpm@osdl.org>2006-01-11 14:23:49 -0500
committerGreg Kroah-Hartman <gregkh@suse.de>2006-01-13 19:29:56 -0500
commit5d870c8e216f121307445c71caa72e7e10a20061 (patch)
treed1d73cf5e520a10086f9a50a00fecb6041def89d /include/linux
parent7111763d391b0c5a949a4f2575aa88cd585f0ff6 (diff)
[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>
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/spi/spi.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/spi/spi.h b/include/linux/spi/spi.h
index 939afd3a2e72..b05f1463a267 100644
--- a/include/linux/spi/spi.h
+++ b/include/linux/spi/spi.h
@@ -374,7 +374,7 @@ struct spi_message {
374 */ 374 */
375 375
376 /* completion is reported through a callback */ 376 /* completion is reported through a callback */
377 void FASTCALL((*complete)(void *context)); 377 void (*complete)(void *context);
378 void *context; 378 void *context;
379 unsigned actual_length; 379 unsigned actual_length;
380 int status; 380 int status;