public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Adrian Bunk <bunk@stusta.de>
To: Andrew Morton <akpm@osdl.org>, linux-kernel@vger.kernel.org
Subject: Re: [2.6 patch] deprecate EXPORT_SYMBOL(do_settimeofday)
Date: Sat, 26 Feb 2005 17:23:41 +0100	[thread overview]
Message-ID: <20050226162341.GN3311@stusta.de> (raw)
In-Reply-To: <20050226144635.B7151@flint.arm.linux.org.uk>

On Sat, Feb 26, 2005 at 02:46:35PM +0000, Russell King wrote:
> On Sat, Feb 26, 2005 at 02:33:37PM +0100, Adrian Bunk wrote:
> 
> Please don't deprecate this symbol.  ARM has a large variety of RTC
> implementations, some of which reside in I2C modules which are yet
> to be merged.
> 
> Firstly, these aren't accessible until the i2c subsystem has been
> initialised.  Secondly, i2c is modular, so this function must be
> accessible from a module in order for the system time/date to be
> initialised from the RTC with a modular build.
> 
> (It can be argued that you wouldn't want to build such a thing as a
> module in the first place, in which case removing the export would
> of course be fine.  However, we can't sanely force I2C to be either
> always builtin, and placing this expectation on people will eventually
> lead other janitors to complain that the symbol is used by modules but
> isn't exported.)

I saw drivers/acorn/char/i2c.c, but this file is always built statically 
on ARCH_ACORN without any dependency between ARCH_ACORN and I2C.
This is buggy.

Why can't such drivers select I2C and other required I2C_* variables?

Appropriate depends or selects are required in any case.
If you plan to make drivers like drivers/acorn/char/i2c.c modular, my 
patch is void.

cu
Adrian

-- 

       "Is there not promise of rain?" Ling Tan asked suddenly out
        of the darkness. There had been need of rain for many days.
       "Only a promise," Lao Er said.
                                       Pearl S. Buck - Dragon Seed


  reply	other threads:[~2005-02-26 16:23 UTC|newest]

Thread overview: 27+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-02-24 23:37 [2.6 patch] unexport do_settimeofday Adrian Bunk
2005-02-25  5:24 ` Andrew Morton
2005-02-25  8:02   ` Arjan van de Ven
2005-02-25  8:28     ` Andrew Morton
2005-02-25  8:47       ` Bartlomiej Zolnierkiewicz
2005-02-25  9:26         ` Andreas Dilger
2005-02-25  9:33           ` Arjan van de Ven
2005-02-25  9:46             ` Andrew Morton
2005-02-27 22:44       ` Christoph Hellwig
2005-02-25 21:43   ` Adrian Bunk
2005-02-25 21:55     ` Andrew Morton
2005-02-25 23:02       ` Adrian Bunk
2005-02-25 23:20         ` Andrew Morton
2005-02-26 10:01           ` Arjan van de Ven
2005-02-26 15:28             ` Adrian Bunk
2005-02-26 15:22           ` Adrian Bunk
2005-02-26 13:33   ` [2.6 patch] deprecate EXPORT_SYMBOL(do_settimeofday) Adrian Bunk
2005-02-26 13:37     ` YOSHIFUJI Hideaki / 吉藤英明
2005-02-26 13:38       ` YOSHIFUJI Hideaki / 吉藤英明
2005-02-26 14:46     ` Russell King
2005-02-26 16:23       ` Adrian Bunk [this message]
2005-02-26 16:46         ` Russell King
2005-02-26 17:13           ` Adrian Bunk
2005-02-26 17:20             ` Russell King
2005-02-27  0:28               ` Adrian Bunk
2005-02-26 17:29             ` Russell King
2005-02-27  0:43               ` 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=20050226162341.GN3311@stusta.de \
    --to=bunk@stusta.de \
    --cc=akpm@osdl.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