public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Steven Barnhart <sbarn03@softhome.net>
To: Christoph Hellwig <hch@infradead.org>
Cc: alan@redhat.com, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] vlsi_ir.h, add #define for KERNEL_VERSION
Date: 29 Dec 2002 20:01:18 -0500	[thread overview]
Message-ID: <1041210085.26120.1.camel@sbarn.net> (raw)
In-Reply-To: <20021230002205.A13560@infradead.org>

[-- Attachment #1: Type: text/plain, Size: 1676 bytes --]

On Sun, 2002-12-29 at 19:22, Christoph Hellwig wrote:

> What about including <linux/version.h> instead? :)
> 

Ok that obviously is better so here is the updated patch. Please apply
and comment on any other problems with that :)

Steven

-----
# This is a BitKeeper generated patch for the following project:
# Project Name: Linux kernel tree
# This patch format is intended for GNU patch command version 2.5 or
higher.
# This patch includes the following deltas:
#	           ChangeSet	1.976   -> 1.977  
#	drivers/net/irda/vlsi_ir.c	1.14    -> 1.15   
#	include/net/irda/vlsi_ir.h	1.6     -> 1.7    
#
# The following is the BitKeeper ChangeSet Log
# --------------------------------------------
# 02/12/29	steven@sbarn.net	1.977
# [PATCH] Add missing include <linux/version.h> to vlsi_ir.c in place of
previous patch.
# --------------------------------------------
#
diff -Nru a/drivers/net/irda/vlsi_ir.c b/drivers/net/irda/vlsi_ir.c
--- a/drivers/net/irda/vlsi_ir.c	Sun Dec 29 19:59:26 2002
+++ b/drivers/net/irda/vlsi_ir.c	Sun Dec 29 19:59:26 2002
@@ -49,7 +49,7 @@
 #include <net/irda/irda.h>
 #include <net/irda/irda_device.h>
 #include <net/irda/wrapper.h>
-
+#include <linux/version.h>
 #include <net/irda/vlsi_ir.h>
 
 /********************************************************/
diff -Nru a/include/net/irda/vlsi_ir.h b/include/net/irda/vlsi_ir.h
--- a/include/net/irda/vlsi_ir.h	Sun Dec 29 19:59:26 2002
+++ b/include/net/irda/vlsi_ir.h	Sun Dec 29 19:59:26 2002
@@ -26,7 +26,7 @@
 
 #ifndef IRDA_VLSI_FIR_H
 #define IRDA_VLSI_FIR_H
-#define KERNEL_VERSION
+
 #if LINUX_VERSION_CODE < KERNEL_VERSION(2,5,4) 
 #ifdef CONFIG_PROC_FS
 /* PDE() introduced in 2.5.4 */


[-- Attachment #2: vlsi.c-patch --]
[-- Type: text/plain, Size: 1468 bytes --]

# This is a BitKeeper generated patch for the following project:
# Project Name: Linux kernel tree
# This patch format is intended for GNU patch command version 2.5 or higher.
# This patch includes the following deltas:
#	           ChangeSet	1.976   -> 1.977  
#	drivers/net/irda/vlsi_ir.c	1.14    -> 1.15   
#	include/net/irda/vlsi_ir.h	1.6     -> 1.7    
#
# The following is the BitKeeper ChangeSet Log
# --------------------------------------------
# 02/12/29	steven@sbarn.net	1.977
# [PATCH] Add missing include <linux/version.h> to vlsi_ir.c in place of previous patch.
# --------------------------------------------
#
diff -Nru a/drivers/net/irda/vlsi_ir.c b/drivers/net/irda/vlsi_ir.c
--- a/drivers/net/irda/vlsi_ir.c	Sun Dec 29 19:59:26 2002
+++ b/drivers/net/irda/vlsi_ir.c	Sun Dec 29 19:59:26 2002
@@ -49,7 +49,7 @@
 #include <net/irda/irda.h>
 #include <net/irda/irda_device.h>
 #include <net/irda/wrapper.h>
-
+#include <linux/version.h>
 #include <net/irda/vlsi_ir.h>
 
 /********************************************************/
diff -Nru a/include/net/irda/vlsi_ir.h b/include/net/irda/vlsi_ir.h
--- a/include/net/irda/vlsi_ir.h	Sun Dec 29 19:59:26 2002
+++ b/include/net/irda/vlsi_ir.h	Sun Dec 29 19:59:26 2002
@@ -26,7 +26,7 @@
 
 #ifndef IRDA_VLSI_FIR_H
 #define IRDA_VLSI_FIR_H
-#define KERNEL_VERSION
+
 #if LINUX_VERSION_CODE < KERNEL_VERSION(2,5,4) 
 #ifdef CONFIG_PROC_FS
 /* PDE() introduced in 2.5.4 */

      reply	other threads:[~2002-12-30  0:52 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-12-30  0:14 [PATCH] vlsi_ir.h, add #define for KERNEL_VERSION Steven Barnhart
2002-12-30  0:22 ` Christoph Hellwig
2002-12-30  1:01   ` Steven Barnhart [this message]

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=1041210085.26120.1.camel@sbarn.net \
    --to=sbarn03@softhome.net \
    --cc=alan@redhat.com \
    --cc=hch@infradead.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