From: David Brownell <david-b@pacbell.net>
To: Linux OMAP <linux-omap-open-source@linux.omap.com>
Subject: [patch 2.6.20-rc3-omap1] musb_hdrc workqueue build fix
Date: Wed, 10 Jan 2007 17:17:17 -0800 [thread overview]
Message-ID: <200701101717.18559.david-b@pacbell.net> (raw)
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);
next reply other threads:[~2007-01-11 1:17 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-01-11 1:17 David Brownell [this message]
2007-01-11 20:20 ` [patch 2.6.20-rc3-omap1] musb_hdrc workqueue build fix Tony Lindgren
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=200701101717.18559.david-b@pacbell.net \
--to=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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.