Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
linux
Commits
06b4be5b
Commit
06b4be5b
authored
Jan 08, 2003
by
Greg Kroah-Hartman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
USB: fix ehci build for older versions of gcc
parent
e737d9ff
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
28 deletions
+4
-28
drivers/usb/host/ehci-dbg.c
drivers/usb/host/ehci-dbg.c
+4
-28
No files found.
drivers/usb/host/ehci-dbg.c
View file @
06b4be5b
...
@@ -18,38 +18,14 @@
...
@@ -18,38 +18,14 @@
/* this file is part of ehci-hcd.c */
/* this file is part of ehci-hcd.c */
#if LINUX_VERSION_CODE > KERNEL_VERSION(2,5,50)
#define ehci_dbg(ehci, fmt, args...) \
#define ehci_dbg(ehci, fmt, args...) \
dev_dbg ((ehci)->hcd.controller
, fmt
, ## args )
dev_dbg ((ehci)->hcd.controller
, fmt
, ## args )
#define ehci_err(ehci, fmt, args...) \
#define ehci_err(ehci, fmt, args...) \
dev_err ((ehci)->hcd.controller
, fmt
, ## args )
dev_err ((ehci)->hcd.controller
, fmt
, ## args )
#define ehci_info(ehci, fmt, args...) \
#define ehci_info(ehci, fmt, args...) \
dev_info ((ehci)->hcd.controller
, fmt
, ## args )
dev_info ((ehci)->hcd.controller
, fmt
, ## args )
#define ehci_warn(ehci, fmt, args...) \
#define ehci_warn(ehci, fmt, args...) \
dev_warn ((ehci)->hcd.controller, fmt, ## args )
dev_warn ((ehci)->hcd.controller , fmt , ## args )
#else
#ifdef DEBUG
#define ehci_dbg(ehci, fmt, args...) \
printk(KERN_DEBUG "%s %s: " fmt, hcd_name, \
(ehci)->hcd.pdev->slot_name, ## args )
#else
#define ehci_dbg(ehci, fmt, args...) do { } while (0)
#endif
#define ehci_err(ehci, fmt, args...) \
printk(KERN_ERR "%s %s: " fmt, hcd_name, \
(ehci)->hcd.pdev->slot_name, ## args )
#define ehci_info(ehci, fmt, args...) \
printk(KERN_INFO "%s %s: " fmt, hcd_name, \
(ehci)->hcd.pdev->slot_name, ## args )
#define ehci_warn(ehci, fmt, args...) \
printk(KERN_WARNING "%s %s: " fmt, hcd_name, \
(ehci)->hcd.pdev->slot_name, ## args )
#endif
#ifdef EHCI_VERBOSE_DEBUG
#ifdef EHCI_VERBOSE_DEBUG
# define vdbg dbg
# define vdbg dbg
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment