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
db7e9855
Commit
db7e9855
authored
Jun 07, 2015
by
Vineet Gupta
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ARC: [axs101] Add missing __init annotations
Signed-off-by:
Vineet Gupta
<
vgupta@synopsys.com
>
parent
7cacc5bf
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
arch/arc/plat-axs10x/axs10x.c
arch/arc/plat-axs10x/axs10x.c
+6
-6
No files found.
arch/arc/plat-axs10x/axs10x.c
View file @
db7e9855
...
...
@@ -37,7 +37,7 @@
#define CREG_CPU_ARC770_IRQ_MUX (AXC001_CREG + 0x114)
#define CREG_CPU_GPIO_UART_MUX (AXC001_CREG + 0x120)
static
void
enable_gpio_intc_wire
(
void
)
static
void
__init
axs10x_
enable_gpio_intc_wire
(
void
)
{
/*
* Peripherals on CPU Card and Mother Board are wired to cpu intc via
...
...
@@ -83,7 +83,7 @@ static void enable_gpio_intc_wire(void)
iowrite32
(
1
<<
MB_TO_GPIO_IRQ
,
(
void
__iomem
*
)
GPIO_INTEN
);
}
static
void
axs10x_print_board_ver
(
unsigned
int
creg
,
const
char
*
str
)
static
void
__init
axs10x_print_board_ver
(
unsigned
int
creg
,
const
char
*
str
)
{
union
ver
{
struct
{
...
...
@@ -101,7 +101,7 @@ static void axs10x_print_board_ver(unsigned int creg, const char *str)
board
.
y
);
}
static
void
axs10x_early_init
(
void
)
static
void
__init
axs10x_early_init
(
void
)
{
int
mb_rev
;
char
mb
[
32
];
...
...
@@ -112,7 +112,7 @@ static void axs10x_early_init(void)
else
mb_rev
=
2
;
/* HT-2 (rev2.0) */
enable_gpio_intc_wire
();
axs10x_
enable_gpio_intc_wire
();
scnprintf
(
mb
,
32
,
"MainBoard v%d"
,
mb_rev
);
axs10x_print_board_ver
(
CREG_MB_VER
,
mb
);
...
...
@@ -227,7 +227,7 @@ static const struct aperture axs_mb_memmap[16] = {
{
AXS_MB_SLV_AXI_TUNNEL_CPU
,
0xF
},
};
static
noinline
void
static
noinline
void
__init
axs101_set_memmap
(
void
__iomem
*
base
,
const
struct
aperture
map
[
16
])
{
unsigned
int
slave_select
,
slave_offset
;
...
...
@@ -252,7 +252,7 @@ axs101_set_memmap(void __iomem *base, const struct aperture map[16])
iowrite32
(
slave_offset
,
base
+
0xC
);
/* OFFSET1 */
}
static
void
axs101_early_init
(
void
)
static
void
__init
axs101_early_init
(
void
)
{
int
i
;
...
...
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