projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
68f04a3
)
ide: make a table 'const'
author
Blue Swirl
<blauwirbel@gmail.com>
Fri, 14 May 2010 19:32:14 +0000
(19:32 +0000)
committer
Blue Swirl
<blauwirbel@gmail.com>
Fri, 14 May 2010 19:32:14 +0000
(19:32 +0000)
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
hw/ide/core.c
patch
|
blob
|
history
diff --git
a/hw/ide/core.c
b/hw/ide/core.c
index 075752897a0707cadb9599d2a93d2818efa64d0b..b0165bcc0282c19ed6b501e8d8686a808c2f69ac 100644
(file)
--- a/
hw/ide/core.c
+++ b/
hw/ide/core.c
@@
-36,7
+36,7
@@
#define IDE_PAGE_SIZE 4096
-static int smart_attributes[][5] = {
+static
const
int smart_attributes[][5] = {
/* id, flags, val, wrst, thrsh */
{ 0x01, 0x03, 0x64, 0x64, 0x06}, /* raw read */
{ 0x03, 0x03, 0x64, 0x64, 0x46}, /* spin up */