#define PHYSADDR(a)             ((a) & 0x1fffffff)
 #endif
 /* end of +++ */
-static unsigned int msdc_do_command(struct msdc_host   *host,
-                                   struct mmc_command *cmd,
-                                   int                 tune,
-                                   unsigned long       timeout);
+static int msdc_do_command(struct msdc_host   *host,
+                          struct mmc_command *cmd,
+                          int                 tune,
+                          unsigned long       timeout);
 
 static int msdc_tune_cmdrsp(struct msdc_host *host, struct mmc_command *cmd);
 
        return cmd->error;
 }
 
-static unsigned int msdc_do_command(struct msdc_host   *host,
-                                   struct mmc_command *cmd,
-                                   int                 tune,
-                                   unsigned long       timeout)
+static int msdc_do_command(struct msdc_host   *host,
+                          struct mmc_command *cmd,
+                          int                 tune,
+                          unsigned long       timeout)
 {
        if (msdc_command_start(host, cmd, timeout))
                goto end;