mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-06 09:13:55 -06:00
ide: make a table 'const'
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
This commit is contained in:
parent
68f04a3c62
commit
117e1e8244
1 changed files with 1 additions and 1 deletions
|
@ -36,7 +36,7 @@
|
||||||
|
|
||||||
#define IDE_PAGE_SIZE 4096
|
#define IDE_PAGE_SIZE 4096
|
||||||
|
|
||||||
static int smart_attributes[][5] = {
|
static const int smart_attributes[][5] = {
|
||||||
/* id, flags, val, wrst, thrsh */
|
/* id, flags, val, wrst, thrsh */
|
||||||
{ 0x01, 0x03, 0x64, 0x64, 0x06}, /* raw read */
|
{ 0x01, 0x03, 0x64, 0x64, 0x06}, /* raw read */
|
||||||
{ 0x03, 0x03, 0x64, 0x64, 0x46}, /* spin up */
|
{ 0x03, 0x03, 0x64, 0x64, 0x46}, /* spin up */
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue