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
7e6cbb6a
Commit
7e6cbb6a
authored
Oct 07, 2002
by
Randy Dunlap
Committed by
Greg Kroah-Hartman
Oct 07, 2002
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] build cpia video driver
This patch enables the cpia driver to build on 2.5.41.
parent
b885ce2a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
drivers/media/video/cpia.h
drivers/media/video/cpia.h
+2
-2
drivers/media/video/cpia_usb.c
drivers/media/video/cpia_usb.c
+1
-1
No files found.
drivers/media/video/cpia.h
View file @
7e6cbb6a
...
...
@@ -378,8 +378,8 @@ void cpia_unregister_camera(struct cam_data *cam);
/* ErrorCode */
#define ERROR_FLICKER_BELOW_MIN_EXP 0x01
/*flicker exposure got below minimum exposure */
#define ALOG(
lineno,fmt,args...) printk(fmt,lineno,
##args)
#define LOG(fmt,args...) ALOG(
(__LINE__),KERN_INFO __FILE__":"__FUNCTION__"(%d):"fmt,
##args)
#define ALOG(
fmt,args...) printk(fmt,
##args)
#define LOG(fmt,args...) ALOG(
KERN_INFO __FILE__ ":%s(%d):" fmt, __FUNCTION__, __LINE__,
##args)
#ifdef _CPIA_DEBUG_
#define ADBG(lineno,fmt,args...) printk(fmt, jiffies, lineno, ##args)
...
...
drivers/media/video/cpia_usb.c
View file @
7e6cbb6a
...
...
@@ -167,7 +167,7 @@ static void cpia_usb_complete(struct urb *urb)
/* resubmit */
urb
->
dev
=
ucpia
->
dev
;
if
((
i
=
usb_submit_urb
(
urb
,
GFP_ATOMIC
))
!=
0
)
printk
(
KERN_ERR
__FUNCTION__
": usb_submit_urb ret %d
\n
"
,
i
);
printk
(
KERN_ERR
"%s: usb_submit_urb ret %d
\n
"
,
__FUNCTION__
,
i
);
}
static
int
cpia_usb_open
(
void
*
privdata
)
...
...
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