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
23d4ae4f
Commit
23d4ae4f
authored
Sep 15, 2004
by
Dave Jones
Committed by
Dave Jones
Sep 15, 2004
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[AGPGART] Fix sparse iomem warnings in Intel MCH driver.
Signed-off-by:
Dave Jones
<
davej@redhat.com
>
parent
f37d606e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
drivers/char/agp/intel-mch-agp.c
drivers/char/agp/intel-mch-agp.c
+3
-3
No files found.
drivers/char/agp/intel-mch-agp.c
View file @
23d4ae4f
...
@@ -84,7 +84,7 @@ static struct aper_size_info_fixed intel_i830_sizes[] =
...
@@ -84,7 +84,7 @@ static struct aper_size_info_fixed intel_i830_sizes[] =
static
struct
_intel_i830_private
{
static
struct
_intel_i830_private
{
struct
pci_dev
*
i830_dev
;
/* device one */
struct
pci_dev
*
i830_dev
;
/* device one */
volatile
u8
*
registers
;
volatile
u8
__iomem
*
registers
;
int
gtt_entries
;
int
gtt_entries
;
}
intel_i830_private
;
}
intel_i830_private
;
...
@@ -172,7 +172,7 @@ static int intel_i830_create_gatt_table(void)
...
@@ -172,7 +172,7 @@ static int intel_i830_create_gatt_table(void)
pci_read_config_dword
(
intel_i830_private
.
i830_dev
,
I810_MMADDR
,
&
temp
);
pci_read_config_dword
(
intel_i830_private
.
i830_dev
,
I810_MMADDR
,
&
temp
);
temp
&=
0xfff80000
;
temp
&=
0xfff80000
;
intel_i830_private
.
registers
=
(
volatile
u8
*
)
ioremap
(
temp
,
128
*
4096
);
intel_i830_private
.
registers
=
(
volatile
u8
__iomem
*
)
ioremap
(
temp
,
128
*
4096
);
if
(
!
intel_i830_private
.
registers
)
if
(
!
intel_i830_private
.
registers
)
return
(
-
ENOMEM
);
return
(
-
ENOMEM
);
...
@@ -255,7 +255,7 @@ static int intel_i830_configure(void)
...
@@ -255,7 +255,7 @@ static int intel_i830_configure(void)
static
void
intel_i830_cleanup
(
void
)
static
void
intel_i830_cleanup
(
void
)
{
{
iounmap
((
void
*
)
intel_i830_private
.
registers
);
iounmap
((
void
__iomem
*
)
intel_i830_private
.
registers
);
}
}
static
int
intel_i830_insert_entries
(
struct
agp_memory
*
mem
,
off_t
pg_start
,
static
int
intel_i830_insert_entries
(
struct
agp_memory
*
mem
,
off_t
pg_start
,
...
...
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