projects
/
GitHub
/
LineageOS
/
android_kernel_samsung_universal7580.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5e9ad06
)
[AGPGART] Mark AMD64 aperture size structs as const
author
Dave Jones
<davej@redhat.com>
Thu, 17 Nov 2005 00:07:02 +0000
(16:07 -0800)
committer
Dave Jones
<davej@redhat.com>
Thu, 17 Nov 2005 00:07:02 +0000
(16:07 -0800)
Neither of them are ever written to.
Noted by Arjan van de Ven
Signed-off-by: Dave Jones <davej@redhat.com>
drivers/char/agp/amd64-agp.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/char/agp/amd64-agp.c
b/drivers/char/agp/amd64-agp.c
index 76589782adcbf2f2f2372b919c6b49490bc4d593..810679dcbbb0cb006c619af994bb91f6e60cd7a0 100644
(file)
--- a/
drivers/char/agp/amd64-agp.c
+++ b/
drivers/char/agp/amd64-agp.c
@@
-416,7
+416,7
@@
static void __devinit amd8151_init(struct pci_dev *pdev, struct agp_bridge_data
}
-static struct aper_size_info_32 uli_sizes[7] =
+static
const
struct aper_size_info_32 uli_sizes[7] =
{
{256, 65536, 6, 10},
{128, 32768, 5, 9},
@@
-470,7
+470,7
@@
static int __devinit uli_agp_init(struct pci_dev *pdev)
}
-static struct aper_size_info_32 nforce3_sizes[5] =
+static
const
struct aper_size_info_32 nforce3_sizes[5] =
{
{512, 131072, 7, 0x00000000 },
{256, 65536, 6, 0x00000008 },