Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/ic Add missing ,
details: https://anonhg.NetBSD.org/src/rev/6d4b3a43d643
branches: trunk
changeset: 337077:6d4b3a43d643
user: matt <matt%NetBSD.org@localhost>
date: Wed Apr 01 06:08:39 2015 +0000
description:
Add missing ,
constify the arrays of string pointers.
diffstat:
sys/dev/ic/spdmem.c | 16 ++++++++--------
1 files changed, 8 insertions(+), 8 deletions(-)
diffs (68 lines):
diff -r 1c8c08baad7c -r 6d4b3a43d643 sys/dev/ic/spdmem.c
--- a/sys/dev/ic/spdmem.c Wed Apr 01 02:49:44 2015 +0000
+++ b/sys/dev/ic/spdmem.c Wed Apr 01 06:08:39 2015 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: spdmem.c,v 1.11 2015/03/27 05:33:08 msaitoh Exp $ */
+/* $NetBSD: spdmem.c,v 1.12 2015/04/01 06:08:39 matt Exp $ */
/*
* Copyright (c) 2007 Nicolas Joly
@@ -35,7 +35,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: spdmem.c,v 1.11 2015/03/27 05:33:08 msaitoh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: spdmem.c,v 1.12 2015/04/01 06:08:39 matt Exp $");
#include <sys/param.h>
#include <sys/device.h>
@@ -63,7 +63,7 @@
#define IS_RAMBUS_TYPE (s->sm_len < 4)
-static const char* spdmem_basic_types[] = {
+static const char* const spdmem_basic_types[] = {
"unknown",
"FPM",
"EDO",
@@ -75,11 +75,11 @@
"DDR2 SDRAM",
"DDR2 SDRAM FB",
"DDR2 SDRAM FB Probe",
- "DDR3 SDRAM"
+ "DDR3 SDRAM",
"DDR4 SDRAM"
};
-static const char* spdmem_superset_types[] = {
+static const char* const spdmem_superset_types[] = {
"unknown",
"ESDRAM",
"DDR ESDRAM",
@@ -87,7 +87,7 @@
"PEM SDRAM"
};
-static const char* spdmem_voltage_types[] = {
+static const char* const spdmem_voltage_types[] = {
"TTL (5V tolerant)",
"LvTTL (not 5V tolerant)",
"HSTL 1.5V",
@@ -96,7 +96,7 @@
"SSTL 1.8V"
};
-static const char* spdmem_refresh_types[] = {
+static const char* const spdmem_refresh_types[] = {
"15.625us",
"3.9us",
"7.8us",
@@ -105,7 +105,7 @@
"125us"
};
-static const char* spdmem_parity_types[] = {
+static const char* const spdmem_parity_types[] = {
"no parity or ECC",
"data parity",
"data ECC",
Home |
Main Index |
Thread Index |
Old Index