]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/char/rio/cmdblk.h
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/shaggy...
[linux-2.6-omap-h63xx.git] / drivers / char / rio / cmdblk.h
index 2b8efbdbee1c3d66be9e641e8558f6d409eed4c2..c46b2fdb6626403789faa7dd88f5b037091ac86d 100644 (file)
@@ -44,16 +44,15 @@ static char *_cmdblk_h_sccs_ = "@(#)cmdblk.h        1.2";
 ** a rup.
 */
 
-struct CmdBlk
-{
- struct CmdBlk *NextP;          /* Pointer to next command block */
- struct        PKT     Packet;         /* A packet, to copy to the rup */
-                               /* The func to call to check if OK */
-       int     (*PreFuncP)(int, struct CmdBlk *);
-       int     PreArg;         /* The arg for the func */
-                               /* The func to call when completed */
-       int     (*PostFuncP)(int, struct CmdBlk *);
-       int     PostArg;        /* The arg for the func */
+struct CmdBlk {
+       struct CmdBlk *NextP;   /* Pointer to next command block */
+       struct PKT Packet;      /* A packet, to copy to the rup */
+       /* The func to call to check if OK */
+       int (*PreFuncP) (unsigned long, struct CmdBlk *);
+       int PreArg;             /* The arg for the func */
+       /* The func to call when completed */
+       int (*PostFuncP) (unsigned long, struct CmdBlk *);
+       int PostArg;            /* The arg for the func */
 };
 
 #define NUM_RIO_CMD_BLKS (3 * (MAX_RUP * 4 + LINKS_PER_UNIT * 4))