Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
FPGA Configuration Space
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
1
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Projects
FPGA Configuration Space
Commits
b4231817
Commit
b4231817
authored
8 years ago
by
Cesar Prados
Browse files
Options
Downloads
Patches
Plain Diff
wb-serial: change error msg to warning for kernel > 4.10
parent
d5187fef
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
pcie-wb/wishbone-serial.c
+2
-2
2 additions, 2 deletions
pcie-wb/wishbone-serial.c
with
2 additions
and
2 deletions
pcie-wb/wishbone-serial.c
+
2
−
2
View file @
b4231817
...
...
@@ -36,7 +36,7 @@
#elif LINUX_VERSION_CODE >= KERNEL_VERSION(3,7,0) && LINUX_VERSION_CODE < KERNEL_VERSION(3,10,0)
#define API 7
/* v3.7 v3.8 v3.9 */
#elif LINUX_VERSION_CODE >= KERNEL_VERSION(3,10,0)
#
error
Enable and use the driver in your native kernel, not this one
#
warning
Enable and use the driver in your native kernel, not this one
#define API 8
/* v3.10+ */
#else
#error Unsupported kernel version
...
...
@@ -146,7 +146,7 @@ static int wishbone_serial_open(struct tty_struct *tty, struct usb_serial_port *
retval
);
return
retval
;
}
#if API <= 1
wishbone_serial_set_termios
(
port
,
NULL
);
#endif
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment