2003-05-27 09:11:26

by Miles Bader

[permalink] [raw]
Subject: [PATCH][v850] Include <linux/fs.h> in arch/v850/kernel/rte_cb_leds.c

This is to define `struct file'; apparently some include-file change
removed a previous implicit include.

diff -ruN -X../cludes linux-2.5.70/arch/v850/kernel/rte_cb_leds.c linux-2.5.70-v850-20030527/arch/v850/kernel/rte_cb_leds.c
--- linux-2.5.70/arch/v850/kernel/rte_cb_leds.c 2002-11-28 10:24:54.000000000 +0900
+++ linux-2.5.70-v850-20030527/arch/v850/kernel/rte_cb_leds.c 2003-05-27 16:09:43.000000000 +0900
@@ -1,8 +1,8 @@
/*
* include/asm-v850/rte_cb_leds.c -- Midas lab RTE-CB board LED device support
*
- * Copyright (C) 2002 NEC Corporation
- * Copyright (C) 2002 Miles Bader <[email protected]>
+ * Copyright (C) 2002,03 NEC Electronics Corporation
+ * Copyright (C) 2002,03 Miles Bader <[email protected]>
*
* This file is subject to the terms and conditions of the GNU General
* Public License. See the file COPYING in the main directory of this
@@ -14,6 +14,7 @@
#include <linux/config.h>
#include <linux/init.h>
#include <linux/spinlock.h>
+#include <linux/fs.h>
#include <linux/miscdevice.h>

#include <asm/uaccess.h>