Re: [2.6 patch] drivers/char/sonypi.c: make 3 structs static

From: Adrian Bunk (bunk_at_stusta.de)
Date: 01/31/05

  • Next message: Laurent Riffard: "Re: 2.6.11-rc2-mm2"
    Date:	Mon, 31 Jan 2005 22:53:12 +0100
    To: Stelian Pop <stelian@popies.net>, linux-kernel@vger.kernel.org
    
    

    On Mon, Jan 31, 2005 at 10:49:05PM +0100, Stelian Pop wrote:
    > On Mon, Jan 31, 2005 at 06:35:08PM +0100, Adrian Bunk wrote:
    >
    > > This patch makes three needlessly global structs static.
    > >
    > > Signed-off-by: Adrian Bunk <bunk@stusta.de>
    > >
    > > ---
    > >
    > > drivers/char/sonypi.c | 76 +++++++++++++++++++++++++++++++++++++++++-
    > > drivers/char/sonypi.h | 74 ----------------------------------------
    > > 2 files changed, 75 insertions(+), 75 deletions(-)
    >
    > sonypi.h is a "local" header file used only by sonypi.c.
    >
    > I would like to keep those tables in sonypi.h rather than putting
    > all into sonypi.c (or we could as well remove sonypi.h and put all the
    > contents into the .c).
    >
    > What about:
    >...

    That's also OK with me.

    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
    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at  http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at  http://www.tux.org/lkml/
    

  • Next message: Laurent Riffard: "Re: 2.6.11-rc2-mm2"

    Relevant Pages

    • Re: 2.6.11-rc2-mm1
      ... > It breaks compilation with gcc-4.0 ... This patch is correct, too. ... There had been need of rain for many days. ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: [2.6 patch] i386: always use 4k stacks
      ... reverting my patch would be more ... There had been need of rain for many days. ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: RFC: [2.6 patch] better i386 CPU selection
      ... I had a short try to port Debian's patch ... This is not related to the issues my patch addresses. ... There had been need of rain for many days. ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: [2.6 patch] update Dag Brattlis email address
      ... > This patch is huge. ... There had been need of rain for many days. ... Pearl S. Buck - Dragon Seed ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: [-mm patch] SCSI_QLA2ABC options must select FW_LOADER
      ... > I send a patch for this yesterday that lets SCSI_QLA2XXX select ... stay as it is (with the fixes from my patches) doesn't matter much - ... There had been need of rain for many days. ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)