All of lore.kernel.org
 help / color / mirror / Atom feed
From: Adrian Bunk <bunk@stusta.de>
To: "Antonino A. Daplas" <adaplas@gmail.com>
Cc: linux-fbdev-devel@lists.sourceforge.net, linux-kernel@vger.kernel.org
Subject: Re: [2.6 patch] drivers/video/: possible cleanups
Date: Sun, 6 Nov 2005 12:17:44 +0100	[thread overview]
Message-ID: <20051106111743.GA3847@stusta.de> (raw)
In-Reply-To: <436D9AF3.8040008@pol.net>

On Sun, Nov 06, 2005 at 01:56:03PM +0800, Antonino A. Daplas wrote:
> Adrian Bunk wrote:
> > This patch contains the possible cleanups including the following:
> > - every file should #include the headers containing the prototypes for
> >   it's global functions
> > - make needlessly global functions static
> > - kyro/STG4000Interface.h: #include video/kyro.h and linux/pci.h
> >   instead of a manual "struct pci_dev"
> > - i810_main.{c,h}: prototypes for static functions belong to the
> >                    C file
> > 
> > 
> > Signed-off-by: Adrian Bunk <bunk@stusta.de>
> > 
> > ---
> > 
> >  drivers/video/arcfb.c                     |    8 +--
> >  drivers/video/console/softcursor.c        |    2 
> >  drivers/video/i810/i810-i2c.c             |    1 
> >  drivers/video/i810/i810_accel.c           |    1 
> >  drivers/video/i810/i810_gtf.c             |    1 
> >  drivers/video/i810/i810_main.c            |   51 ++++++++++++++++++--
> >  drivers/video/i810/i810_main.h            |   56 +---------------------
> >  drivers/video/kyro/STG4000InitDevice.c    |    1 
> >  drivers/video/kyro/STG4000Interface.h     |    3 -
> >  drivers/video/kyro/STG4000OverlayDevice.c |    1 
> >  drivers/video/matrox/matroxfb_g450.c      |    2 
> >  drivers/video/nvidia/nv_hw.c              |    1 
> >  drivers/video/tdfxfb.c                    |    2 
> >  13 files changed, 68 insertions(+), 62 deletions(-)
> > 
> > --- linux-2.6.14-rc5-mm1-full/drivers/video/console/softcursor.c.old	2005-11-06 00:31:15.000000000 +0100
> > +++ linux-2.6.14-rc5-mm1-full/drivers/video/console/softcursor.c	2005-11-06 00:31:30.000000000 +0100
> > @@ -17,6 +17,8 @@
> >  #include <asm/uaccess.h>
> >  #include <asm/io.h>
> >  
> > +#include "fbcon.h"
> 
> I don't think softcursor needs anything in fbcon.h. The rest looks okay.

fbcon.h contains the function prototype for soft_cursor().

> Tony

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



-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php

WARNING: multiple messages have this Message-ID (diff)
From: Adrian Bunk <bunk@stusta.de>
To: "Antonino A. Daplas" <adaplas@gmail.com>
Cc: linux-fbdev-devel@lists.sourceforge.net, linux-kernel@vger.kernel.org
Subject: Re: [2.6 patch] drivers/video/: possible cleanups
Date: Sun, 6 Nov 2005 12:17:44 +0100	[thread overview]
Message-ID: <20051106111743.GA3847@stusta.de> (raw)
In-Reply-To: <436D9AF3.8040008@pol.net>

On Sun, Nov 06, 2005 at 01:56:03PM +0800, Antonino A. Daplas wrote:
> Adrian Bunk wrote:
> > This patch contains the possible cleanups including the following:
> > - every file should #include the headers containing the prototypes for
> >   it's global functions
> > - make needlessly global functions static
> > - kyro/STG4000Interface.h: #include video/kyro.h and linux/pci.h
> >   instead of a manual "struct pci_dev"
> > - i810_main.{c,h}: prototypes for static functions belong to the
> >                    C file
> > 
> > 
> > Signed-off-by: Adrian Bunk <bunk@stusta.de>
> > 
> > ---
> > 
> >  drivers/video/arcfb.c                     |    8 +--
> >  drivers/video/console/softcursor.c        |    2 
> >  drivers/video/i810/i810-i2c.c             |    1 
> >  drivers/video/i810/i810_accel.c           |    1 
> >  drivers/video/i810/i810_gtf.c             |    1 
> >  drivers/video/i810/i810_main.c            |   51 ++++++++++++++++++--
> >  drivers/video/i810/i810_main.h            |   56 +---------------------
> >  drivers/video/kyro/STG4000InitDevice.c    |    1 
> >  drivers/video/kyro/STG4000Interface.h     |    3 -
> >  drivers/video/kyro/STG4000OverlayDevice.c |    1 
> >  drivers/video/matrox/matroxfb_g450.c      |    2 
> >  drivers/video/nvidia/nv_hw.c              |    1 
> >  drivers/video/tdfxfb.c                    |    2 
> >  13 files changed, 68 insertions(+), 62 deletions(-)
> > 
> > --- linux-2.6.14-rc5-mm1-full/drivers/video/console/softcursor.c.old	2005-11-06 00:31:15.000000000 +0100
> > +++ linux-2.6.14-rc5-mm1-full/drivers/video/console/softcursor.c	2005-11-06 00:31:30.000000000 +0100
> > @@ -17,6 +17,8 @@
> >  #include <asm/uaccess.h>
> >  #include <asm/io.h>
> >  
> > +#include "fbcon.h"
> 
> I don't think softcursor needs anything in fbcon.h. The rest looks okay.

fbcon.h contains the function prototype for soft_cursor().

> Tony

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-11-06 11:18 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-11-06  0:50 [2.6 patch] drivers/video/: possible cleanups Adrian Bunk
2005-11-06  0:50 ` Adrian Bunk
2005-11-06  5:56 ` Antonino A. Daplas
2005-11-06  5:56   ` Antonino A. Daplas
2005-11-06 11:17   ` Adrian Bunk [this message]
2005-11-06 11:17     ` Adrian Bunk
2005-11-06 12:44     ` Antonino A. Daplas
  -- strict thread matches above, loose matches on Subject: below --
2005-11-18  3:33 Adrian Bunk
2005-11-18  3:33 ` 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=20051106111743.GA3847@stusta.de \
    --to=bunk@stusta.de \
    --cc=adaplas@gmail.com \
    --cc=linux-fbdev-devel@lists.sourceforge.net \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.