Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
linux-davinci-2.6.23
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
linux
linux-davinci-2.6.23
Commits
74e52aa5
Commit
74e52aa5
authored
Oct 11, 2005
by
Tony Luck
Browse files
Options
Browse Files
Download
Plain Diff
Pull mbcs-init-sn-check into release branch
parents
f5154a98
96f339c6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
drivers/char/mbcs.c
drivers/char/mbcs.c
+3
-0
No files found.
drivers/char/mbcs.c
View file @
74e52aa5
...
@@ -830,6 +830,9 @@ static int __init mbcs_init(void)
...
@@ -830,6 +830,9 @@ static int __init mbcs_init(void)
{
{
int
rv
;
int
rv
;
if
(
!
ia64_platform_is
(
"sn2"
))
return
-
ENODEV
;
// Put driver into chrdevs[]. Get major number.
// Put driver into chrdevs[]. Get major number.
rv
=
register_chrdev
(
mbcs_major
,
DEVICE_NAME
,
&
mbcs_ops
);
rv
=
register_chrdev
(
mbcs_major
,
DEVICE_NAME
,
&
mbcs_ops
);
if
(
rv
<
0
)
{
if
(
rv
<
0
)
{
...
...
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