From: Benjamin Herrenschmidt <benh@kernel.crashing.org>
To: Adrian Bunk <bunk@stusta.de>
Cc: Alan Cox <alan@lxorguk.ukuu.org.uk>,
Andrew Morton <akpm@osdl.org>,
Bartlomiej Zolnierkiewicz <B.Zolnierkiewicz@elka.pw.edu.pl>,
Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
list linux-ide <linux-ide@vger.kernel.org>
Subject: Re: [2.6 patch] drivers/ide/: possible cleanups
Date: Mon, 02 May 2005 11:27:24 +1000 [thread overview]
Message-ID: <1114997244.7112.360.camel@gaston> (raw)
In-Reply-To: <20050501142915.GF3592@stusta.de>
On Sun, 2005-05-01 at 16:29 +0200, Adrian Bunk wrote:
> On Sun, May 01, 2005 at 02:37:43PM +0100, Alan Cox wrote:
> > On Sad, 2005-04-30 at 21:07, Adrian Bunk wrote:
> > > This patch contains the following possible cleanups:
> > > - pci/cy82c693.c: make a needlessly global function static
> > > - remove the following unneeded EXPORT_SYMBOL's:
> > > - ide-taskfile.c: do_rw_taskfile
> > > - ide-iops.c: default_hwif_iops
> > > - ide-iops.c: default_hwif_transport
> > > - ide-iops.c: wait_for_ready
> >
> > default_*_ops are very much API items not currently used. You need them
> > if you
> > want to switch from mmio back to pio (eg doing S3 resume) although
> > nobody is currently doing that.
>
> My patch only removes the EXPORT_SYMBOL's.
>
> The functions themselves stay (since they are used), and if someone
> wants at some time in the future use them from a module, re-adding them
> will be trivial.
Hrm... well, that means if I ever want ide-pmac for example to be a
module, I'll have to add them back...
On the other hand, I agree that their names aren't very nice for
exported symbols... they should have been ide_*
Ben.
next prev parent reply other threads:[~2005-05-02 1:31 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-04-30 20:07 [2.6 patch] drivers/ide/: possible cleanups Adrian Bunk
2005-05-01 13:37 ` Alan Cox
2005-05-01 14:29 ` Adrian Bunk
2005-05-02 1:27 ` Benjamin Herrenschmidt [this message]
-- strict thread matches above, loose matches on Subject: below --
2005-11-03 18:14 Adrian Bunk
2005-11-09 22:07 ` Bartlomiej Zolnierkiewicz
2005-10-01 15:53 Adrian Bunk
2005-08-20 19:02 Adrian Bunk
2005-05-30 20:56 Adrian Bunk
2005-05-30 21:44 ` Benjamin Herrenschmidt
2005-05-30 21:57 ` Adrian Bunk
2005-04-17 20:02 Adrian Bunk
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=1114997244.7112.360.camel@gaston \
--to=benh@kernel.crashing.org \
--cc=B.Zolnierkiewicz@elka.pw.edu.pl \
--cc=akpm@osdl.org \
--cc=alan@lxorguk.ukuu.org.uk \
--cc=bunk@stusta.de \
--cc=linux-ide@vger.kernel.org \
--cc=linux-kernel@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;
as well as URLs for NNTP newsgroup(s).