Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
R
R128
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Ermine
R128
Commits
b9a22794
Commit
b9a22794
authored
17 years ago
by
Grant Likely
Browse files
Options
Downloads
Patches
Plain Diff
[POWERPC] XilinxFB: sparse fixes
Signed-off-by:
Grant Likely
<
grant.likely@secretlab.ca
>
parent
e3cec003
Loading
Loading
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
drivers/video/xilinxfb.c
+3
-3
3 additions, 3 deletions
drivers/video/xilinxfb.c
with
3 additions
and
3 deletions
drivers/video/xilinxfb.c
+
3
−
3
View file @
b9a22794
...
...
@@ -118,7 +118,7 @@ struct xilinxfb_drvdata {
u32
regs_phys
;
/* phys. address of the control registers */
u32
__iomem
*
regs
;
/* virt. address of the control registers */
unsigned
char
__iomem
*
fb_virt
;
/* virt. address of the frame buffer */
void
*
fb_virt
;
/* virt. address of the frame buffer */
dma_addr_t
fb_phys
;
/* phys. address of the frame buffer */
u32
reg_ctrl_default
;
...
...
@@ -246,7 +246,7 @@ static int xilinxfb_assign(struct device *dev, unsigned long physaddr,
}
/* Clear (turn to black) the framebuffer */
memset_io
(
drvdata
->
fb_virt
,
0
,
FB_SIZE
);
memset_io
(
(
void
__iomem
*
)
drvdata
->
fb_virt
,
0
,
FB_SIZE
);
/* Tell the hardware where the frame buffer is */
xilinx_fb_out_be32
(
drvdata
,
REG_FB_ADDR
,
drvdata
->
fb_phys
);
...
...
@@ -259,7 +259,7 @@ static int xilinxfb_assign(struct device *dev, unsigned long physaddr,
/* Fill struct fb_info */
drvdata
->
info
.
device
=
dev
;
drvdata
->
info
.
screen_base
=
drvdata
->
fb_virt
;
drvdata
->
info
.
screen_base
=
(
void
__iomem
*
)
drvdata
->
fb_virt
;
drvdata
->
info
.
fbops
=
&
xilinxfb_ops
;
drvdata
->
info
.
fix
=
xilinx_fb_fix
;
drvdata
->
info
.
fix
.
smem_start
=
drvdata
->
fb_phys
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment