--=_jive-11492-1041207273-0001-2
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 7bit
This patch defines (what seems to be missing) KERNEL_VERSION for the
header file, include/net/irda/vlsi_ir.h to use. This fixes the bug that
the compiler spits out saying "no binary before (" or something of the
like. drivers/net/irda/vlsi_ir.c now compiles flawlessly.
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.975 -> 1.976
# include/net/irda/vlsi_ir.h 1.5 -> 1.6
#
# The following is the BitKeeper ChangeSet Log
# --------------------------------------------
# 02/12/29 steven@sbarn.net 1.976
# [PATCH] Allows /drivers/net/irda/vlsi_ir.c to compile by adding
missing
# #define to the include file 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:02:54 2002
+++ b/include/net/irda/vlsi_ir.h Sun Dec 29 19:02:54 2002
@@ -26,8 +26,8 @@
#ifndef IRDA_VLSI_FIR_H
#define IRDA_VLSI_FIR_H
-
-#if LINUX_VERSION_CODE < KERNEL_VERSION(2,5,4)
+#define KERNEL_VERSION
+#if LINUX_VERSION_CODE < KERNEL_VERSION(2,5,4)
#ifdef CONFIG_PROC_FS
/* PDE() introduced in 2.5.4 */
#define PDE(inode) ((inode)->u.generic_ip)
--=_jive-11492-1041207273-0001-2
Content-Type: text/plain; name="vlsi_ir.h-patch"; charset=utf-8
Content-Transfer-Encoding: quoted-printable
Content-Disposition: attachment; filename=vlsi_ir.h-patch
# 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.975 -> 1.976 =20
# include/net/irda/vlsi_ir.h 1.5 -> 1.6 =20
#
# The following is the BitKeeper ChangeSet Log
# --------------------------------------------
# 02/12/29 steven@sbarn.net 1.976
# [PATCH] Allows /drivers/net/irda/vlsi_ir.c to compile by adding missing
# #define to the include file 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:02:54 2002
+++ b/include/net/irda/vlsi_ir.h Sun Dec 29 19:02:54 2002
@@ -26,8 +26,8 @@
=20
#ifndef IRDA_VLSI_FIR_H
#define IRDA_VLSI_FIR_H
-
-#if LINUX_VERSION_CODE < KERNEL_VERSION(2,5,4)
+#define KERNEL_VERSION
+#if LINUX_VERSION_CODE < KERNEL_VERSION(2,5,4)=20
#ifdef CONFIG_PROC_FS
/* PDE() introduced in 2.5.4 */
#define PDE(inode) ((inode)->u.generic_ip)
--=_jive-11492-1041207273-0001-2--
-
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/