public inbox for linux-omap@vger.kernel.org
 help / color / mirror / Atom feed
From: Tony Lindgren <tony@atomide.com>
To: Hiroshi DOYU <Hiroshi.DOYU@nokia.com>
Cc: linux-omap@vger.kernel.org
Subject: Re: [PATCH 1/1] DSPGW: Fix build error for device_create()
Date: Tue, 12 Aug 2008 14:05:31 +0300	[thread overview]
Message-ID: <20080812110530.GD6705@atomide.com> (raw)
In-Reply-To: <1218525113-25414-1-git-send-email-Hiroshi.DOYU@nokia.com>

* Hiroshi DOYU <Hiroshi.DOYU@nokia.com> [080812 10:14]:
> Ideally, the contents mamagement should be handled by drv_data instead
> of homebrewed array.

Pushing today.

Tony

> Signed-off-by: Hiroshi DOYU <Hiroshi.DOYU@nokia.com>
> ---
>  drivers/dsp/dspgateway/dsp_ctl_core.c |    5 ++---
>  drivers/dsp/dspgateway/task.c         |    2 +-
>  2 files changed, 3 insertions(+), 4 deletions(-)
> 
> diff --git a/drivers/dsp/dspgateway/dsp_ctl_core.c b/drivers/dsp/dspgateway/dsp_ctl_core.c
> index 3c13572..25954bb 100644
> --- a/drivers/dsp/dspgateway/dsp_ctl_core.c
> +++ b/drivers/dsp/dspgateway/dsp_ctl_core.c
> @@ -110,9 +110,8 @@ int __init dsp_ctl_core_init(void)
>  	dsp_ctl_class = class_create(THIS_MODULE, "dspctl");
>  	for (i = 0; i < ARRAY_SIZE(dev_list); i++) {
>  		device_create(dsp_ctl_class, NULL,
> -				    MKDEV(OMAP_DSP_CTL_MAJOR,
> -					  dev_list[i].minor),
> -				    dev_list[i].devname);
> +			      MKDEV(OMAP_DSP_CTL_MAJOR, dev_list[i].minor),
> +			      NULL, dev_list[i].devname);
>  	}
>  
>  	return 0;
> diff --git a/drivers/dsp/dspgateway/task.c b/drivers/dsp/dspgateway/task.c
> index 4d7dcdd..ab18934 100644
> --- a/drivers/dsp/dspgateway/task.c
> +++ b/drivers/dsp/dspgateway/task.c
> @@ -1762,7 +1762,7 @@ static int taskdev_init(struct taskdev *dev, char *name, unsigned char minor)
>  		goto fail_create_proclist;
>  
>  	task_dev = device_create(dsp_task_class, NULL,
> -				 MKDEV(OMAP_DSP_TASK_MAJOR, minor),
> +				 MKDEV(OMAP_DSP_TASK_MAJOR, minor), NULL,
>  				 "dsptask%d", (int)minor);
>  
>  	if (unlikely(IS_ERR(task_dev))) {
> -- 
> 1.5.5.1.357.g1af8b
> 
> --
> To unsubscribe from this list: send the line "unsubscribe linux-omap" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html

      reply	other threads:[~2008-08-12 11:03 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-08-12  7:11 [PATCH 1/1] DSPGW: Fix build error for device_create() Hiroshi DOYU
2008-08-12 11:05 ` 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=20080812110530.GD6705@atomide.com \
    --to=tony@atomide.com \
    --cc=Hiroshi.DOYU@nokia.com \
    --cc=linux-omap@vger.kernel.org \
    /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