public inbox for linux-omap@vger.kernel.org
 help / color / mirror / Atom feed
From: Tony Lindgren <tony@atomide.com>
To: David Brownell <david-b@pacbell.net>
Cc: Linux OMAP <linux-omap-open-source@linux.omap.com>
Subject: Re: [patch 2.6.20-rc3-omap1] musb_hdrc workqueue build fix
Date: Thu, 11 Jan 2007 12:20:10 -0800	[thread overview]
Message-ID: <20070111202010.GC24713@atomide.com> (raw)
In-Reply-To: <200701101717.18559.david-b@pacbell.net>

* David Brownell <david-b@pacbell.net> [070110 17:18]:
> Yet another workqueue-api-changed build fix.
> 
> Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
> 
> --- h4.orig/drivers/usb/musb/plat_uds.c	2007-01-10 14:19:43.000000000 -0800
> +++ h4/drivers/usb/musb/plat_uds.c	2007-01-10 00:21:44.000000000 -0800
> @@ -1561,9 +1561,9 @@ static DEVICE_ATTR(cable, S_IRUGO, musb_
>  #endif
>  
>  /* Only used to provide cable state change events */
> -static void musb_irq_work(void *data)
> +static void musb_irq_work(struct work_struct *data)
>  {
> -	struct musb *musb = (struct musb *)data;
> +	struct musb *musb = container_of(data, struct musb, irq_work);
>  
>  	sysfs_notify(&musb->controller->kobj, NULL, "cable");
>  }
> @@ -1835,7 +1835,7 @@ fail:
>  		return status;
>  	}
>  
> -	INIT_WORK(&pThis->irq_work, musb_irq_work, pThis);
> +	INIT_WORK(&pThis->irq_work, musb_irq_work);
>  
>  #ifdef CONFIG_SYSFS
>  	status = device_create_file(dev, &dev_attr_mode);

Pushed.

Tony

      reply	other threads:[~2007-01-11 20:20 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-01-11  1:17 [patch 2.6.20-rc3-omap1] musb_hdrc workqueue build fix David Brownell
2007-01-11 20:20 ` Tony Lindgren [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20070111202010.GC24713@atomide.com \
    --to=tony@atomide.com \
    --cc=david-b@pacbell.net \
    --cc=linux-omap-open-source@linux.omap.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox