OSDN Git Service

staging: tidspbridge: Add parameter names to function ptrs in struct dbll_attrs
authorJeff Oczek <jeffoczek@gmail.com>
Sat, 14 Jun 2014 13:21:16 +0000 (09:21 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 18 Jun 2014 22:25:56 +0000 (15:25 -0700)
Add more descriptive names to function pointers in definition of struct dbll_attrs

Signed-off-by: Jeff Oczek <jeffoczek@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/tidspbridge/include/dspbridge/dblldefs.h

index 30e0aa0..c66f239 100644 (file)
@@ -168,11 +168,11 @@ struct dbll_attrs {
         *  These file manipulation functions should be compatible with the
         *  "C" run time library functions of the same name.
         */
-        s32(*fread) (void *, size_t, size_t, void *);
-        s32(*fseek) (void *, long, int);
-        s32(*ftell) (void *);
-        s32(*fclose) (void *);
-       void *(*fopen) (const char *, const char *);
+        s32 (*fread)(void *ptr, size_t size, size_t count, void *filp);
+        s32 (*fseek)(void *filp, long offset, int origin);
+        s32 (*ftell)(void *filp);
+        s32 (*fclose)(void *filp);
+        void *(*fopen)(const char *path, const char *mode);
 };
 
 /*