mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Pierre Ossman <drzeus-mmc@drzeus.cx>
To: "Nobin Mathew" <nobin.mathew@gmail.com>
Cc: "Midhun Agnihotram" <agnimidhun@gmail.com>, linux-kernel@vger.kernel.org
Subject: Re: platform_driver_register() ??
Date: Tue, 3 Jul 2007 21:15:13 +0200	[thread overview]
Message-ID: <20070703211513.5245946b@poseidon.drzeus.cx> (raw)
In-Reply-To: <8d6898730707030558o5e110b0v257ffc6350c76069@mail.gmail.com>

On Tue, 3 Jul 2007 18:28:40 +0530
"Nobin Mathew" <nobin.mathew@gmail.com> wrote:

> Hi Midhun,
>     I think mmc driver is layered modules, only top block driver
> registers driver under  "mmc_bus_type" bus, see
> drivers/mmc/mmc_sysfs.c and mmc_block.c. I think they are creating a
> tree of devices of same characteristics under that bus.
> I think your driver is linux/drivers/mmc/imxmmc.c where it registers a
> driver for device of type "platform_bus_type". This module will come
> under above mentioned block driver.
> Corresponding platform device is registered in
> linux/arch/arm/mach-imx/generic.c see platform_device imx_mmc_device.
> 

Indeed. You seem to have the hang of this ;)

Rgds
-- 
     -- Pierre Ossman

  Linux kernel, MMC maintainer        http://www.kernel.org
  PulseAudio, core developer          http://pulseaudio.org
  rdesktop, core developer          http://www.rdesktop.org

  reply	other threads:[~2007-07-03 19:15 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-07-03  7:28 Midhun Agnihotram
2007-07-03 12:58 ` Nobin Mathew
2007-07-03 19:15   ` Pierre Ossman [this message]
2007-07-05  9:21     ` Midhun Agnihotram
2007-07-08 12:23       ` Pierre Ossman

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=20070703211513.5245946b@poseidon.drzeus.cx \
    --to=drzeus-mmc@drzeus.cx \
    --cc=agnimidhun@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=nobin.mathew@gmail.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

all inboxes | Powered by JetHome®