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
Kirill Smelkov
linux
Commits
f21618ed
Commit
f21618ed
authored
Apr 12, 2004
by
Geert Uytterhoeven
Committed by
Linus Torvalds
Apr 12, 2004
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] MVME16x RTC const
MVME16x RTC: Make days_in_mo[] const
parent
998f824a
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
arch/m68k/mvme16x/rtc.c
arch/m68k/mvme16x/rtc.c
+1
-1
No files found.
arch/m68k/mvme16x/rtc.c
View file @
f21618ed
...
@@ -33,7 +33,7 @@
...
@@ -33,7 +33,7 @@
#define BCD2BIN(val) (((val)&15) + ((val)>>4)*10)
#define BCD2BIN(val) (((val)&15) + ((val)>>4)*10)
#define BIN2BCD(val) ((((val)/10)<<4) + (val)%10)
#define BIN2BCD(val) ((((val)/10)<<4) + (val)%10)
static
unsigned
char
days_in_mo
[]
=
static
const
unsigned
char
days_in_mo
[]
=
{
0
,
31
,
28
,
31
,
30
,
31
,
30
,
31
,
31
,
30
,
31
,
30
,
31
};
{
0
,
31
,
28
,
31
,
30
,
31
,
30
,
31
,
31
,
30
,
31
,
30
,
31
};
static
atomic_t
rtc_ready
=
ATOMIC_INIT
(
1
);
static
atomic_t
rtc_ready
=
ATOMIC_INIT
(
1
);
...
...
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