diff options
author | Blue Swirl <blauwirbel@gmail.com> | 2010-05-14 19:32:14 +0000 |
---|---|---|
committer | Blue Swirl <blauwirbel@gmail.com> | 2010-05-14 19:32:14 +0000 |
commit | 117e1e8244f5943ca84c37d2a0ff4711cd795852 (patch) | |
tree | 5d8c403c85d2053106b830fb80c77b045959227d /hw/ide/core.c | |
parent | 68f04a3c629c911a2ecf3d18d925f5ab28211fec (diff) |
ide: make a table 'const'
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'hw/ide/core.c')
-rw-r--r-- | hw/ide/core.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/ide/core.c b/hw/ide/core.c index 075752897a..b0165bcc02 100644 --- 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 */ |