From: Michal Piotrowski <michal.k.k.piotrowski@gmail.com>
To: Michal Piotrowski <michal.k.k.piotrowski@gmail.com>
Cc: Andrew Morton <akpm@osdl.org>,
Thomas Winischhofer <thomas@winischhofer.net>,
LKML <linux-kernel@vger.kernel.org>
Subject: Re: [RFC] [PATCH 2/10] drivers/video/sis/initextlfb.c Removal of old code
Date: Sat, 12 Aug 2006 19:01:28 +0200 [thread overview]
Message-ID: <44DE0968.4000703@gmail.com> (raw)
In-Reply-To: <44DE05FC.2090001@gmail.com>
Signed-off-by: Michal Piotrowski <michal.k.k.piotrowski@gmail.com>
diff -uprN -X linux-work/Documentation/dontdiff linux-work-clean/drivers/video/sis/initextlfb.c linux-work/drivers/video/sis/initextlfb.c
--- linux-work-clean/drivers/video/sis/initextlfb.c 2006-08-12 01:51:17.000000000 +0200
+++ linux-work/drivers/video/sis/initextlfb.c 2006-08-12 18:20:33.000000000 +0200
@@ -34,12 +34,10 @@
#include <linux/types.h>
#include <linux/fb.h>
-#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,5,0)
int sisfb_mode_rate_to_dclock(struct SiS_Private *SiS_Pr,
unsigned char modeno, unsigned char rateindex);
int sisfb_mode_rate_to_ddata(struct SiS_Private *SiS_Pr, unsigned char modeno,
unsigned char rateindex, struct fb_var_screeninfo *var);
-#endif
BOOLEAN sisfb_gettotalfrommode(struct SiS_Private *SiS_Pr, unsigned char modeno,
int *htotal, int *vtotal, unsigned char rateindex);
@@ -49,7 +47,6 @@ extern BOOLEAN SiS_SearchModeID(struct S
extern void SiS_Generic_ConvertCRData(struct SiS_Private *SiS_Pr, unsigned char *crdata,
int xres, int yres, struct fb_var_screeninfo *var, BOOLEAN writeres);
-#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,5,0)
int
sisfb_mode_rate_to_dclock(struct SiS_Private *SiS_Pr, unsigned char modeno,
unsigned char rateindex)
@@ -177,7 +174,6 @@ sisfb_mode_rate_to_ddata(struct SiS_Priv
return 1;
}
-#endif /* Linux >= 2.5 */
BOOLEAN
sisfb_gettotalfrommode(struct SiS_Private *SiS_Pr, unsigned char modeno, int *htotal,
next prev parent reply other threads:[~2006-08-12 17:00 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <44DE05FC.2090001@gmail.com>
2006-08-12 17:01 ` [RFC] [PATCH 1/10] drivers/video/sis/init301.h Removal of old code Michal Piotrowski
2006-08-12 17:01 ` Michal Piotrowski [this message]
2006-08-12 17:01 ` [RFC] [PATCH 3/10] drivers/video/sis/init.h " Michal Piotrowski
2006-08-12 17:01 ` [RFC] [PATCH 4/10] drivers/video/sis/osdef.h " Michal Piotrowski
2006-08-12 17:01 ` [RFC] [PATCH 5/10] drivers/video/sis/sis_accel.c " Michal Piotrowski
2006-08-12 17:02 ` [RFC] [PATCH 6/10] drivers/video/sis/sis_accel.h " Michal Piotrowski
2006-08-12 17:02 ` [RFC] [PATCH 7/10] drivers/video/sis/sis_main.c " Michal Piotrowski
2006-08-14 19:35 ` Michal Piotrowski
2006-08-12 17:02 ` [RFC] [PATCH 8/10] drivers/video/sis/sis_main.h " Michal Piotrowski
2006-08-14 19:40 ` Michal Piotrowski
2006-08-12 17:02 ` [RFC] [PATCH 9/10] drivers/video/sis/vgatypes.h " Michal Piotrowski
2006-08-12 17:03 ` [RFC] [PATCH 10/10] fs/jffs2/jffs2_fs_i.h " Michal Piotrowski
2006-08-13 8:47 ` David Woodhouse
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=44DE0968.4000703@gmail.com \
--to=michal.k.k.piotrowski@gmail.com \
--cc=akpm@osdl.org \
--cc=linux-kernel@vger.kernel.org \
--cc=thomas@winischhofer.net \
/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.