From: Bongani Hlope <bonganilinux@mweb.co.za>
To: LKM <linux-kernel@vger.kernel.org>
Subject: [Patch] Compilation errors on some usb files
Date: 11 Dec 2001 21:47:39 +0200 [thread overview]
Message-ID: <1008100061.3137.1.camel@localhost.localdomain> (raw)
[-- Attachment #1: Type: text/plain, Size: 192 bytes --]
Sorry if this has been posted or fixed already but here it goes.
This is the two patche that fixes some compilation errors on
linux/drivers/usb
This fixes the compilation error on inode.c
[-- Attachment #2: usb_inode.diff --]
[-- Type: text/x-diff, Size: 781 bytes --]
--- linux/drivers/usb/inode.c Sun Oct 21 04:13:11 2001
+++ /home/bongani/dev/c/kernel/inode.c Tue Dec 11 21:23:46 2001
@@ -667,7 +667,7 @@
inode->i_atime = inode->i_mtime = inode->i_ctime = CURRENT_TIME;
}
}
-
+#ifdef CONFIG_USB_DEVICEFS
void usbdevfs_add_bus(struct usb_bus *bus)
{
@@ -731,13 +731,15 @@
unlock_kernel();
usbdevfs_conn_disc_event();
}
-
+#endif
/* --------------------------------------------------------------------- */
#ifdef CONFIG_PROC_FS
static struct proc_dir_entry *usbdir = NULL;
#endif
+#ifdef CONFIG_USB_DEVICEFS
+
int __init usbdevfs_init(void)
{
int ret;
@@ -767,6 +769,7 @@
remove_proc_entry("usb", proc_bus);
#endif
}
+#endif
#if 0
module_init(usbdevfs_init);
next reply other threads:[~2001-12-11 19:37 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-12-11 19:47 Bongani Hlope [this message]
-- strict thread matches above, loose matches on Subject: below --
2001-12-11 19:47 [Patch] Compilation errors on some usb files Bongani Hlope
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=1008100061.3137.1.camel@localhost.localdomain \
--to=bonganilinux@mweb.co.za \
--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