Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
F
FPGA Configuration Space
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
image/svg+xml
Discourse
Discourse
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Projects
FPGA Configuration Space
Commits
b4231817
Commit
b4231817
authored
Jul 18, 2016
by
Cesar Prados
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wb-serial: change error msg to warning for kernel > 4.10
parent
d5187fef
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
wishbone-serial.c
pcie-wb/wishbone-serial.c
+2
-2
No files found.
pcie-wb/wishbone-serial.c
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
...
...
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