On Tue, Mar 22, 2005 at 10:29:35PM +0100, Pierre Ossman wrote:
> @@ -1581,7 +1895,7 @@
>  #define wbsd_resume NULL
>  #endif
>  
> -static void wbsd_release(struct device *dev)
> +static void wbsd_release_dev(struct device *dev)
>  {
>  }
>  
> @@ -1589,7 +1903,7 @@
>       .name           = DRIVER_NAME,
>       .id                     = -1,
>       .dev            = {
> -             .release = wbsd_release,
> +             .release = wbsd_release_dev,
>       },
>  };
>  

Please use platform_device_register_simple() instead of providing a buggy
release function.

> @@ -133,13 +139,20 @@
>  #define WBSD_CRC_OK          0x05 /* S010E (00101) */
>  #define WBSD_CRC_FAIL                0x0B /* S101E (01011) */
>  
> +#define WBSD_DMA_SIZE                65536
>  
>  struct wbsd_host
>  {
> +     struct device*          dev;

You might like to consider using mmc->dev instead of duplicating it
here.

-- 
Russell King
 Linux kernel    2.6 ARM Linux   - http://www.arm.linux.org.uk/
 maintainer of:  2.6 Serial core
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to