42
42
#define WTC_CSRA_DV (WTC_CSRA_M_DV << WTC_CSRA_V_DV)
43
43
#define WTC_CSRA_UIP 0x80 /* update in progess (BUSY) */
44
44
#define WTC_CSRA_WR (WTC_CSRA_RS | WTC_CSRA_DV)
45
- char * wtc_dv_modes [] = {"4.194304MHz" , "1.048576MHz" , "32.768KHz" , "Any" , "Any" , "Test-Only" , "Test-Only" , "Test-Only" };
45
+ const char * wtc_dv_modes [] = {"4.194304MHz" , "1.048576MHz" , "32.768KHz" , "Any" , "Any" , "Test-Only" , "Test-Only" , "Test-Only" };
46
46
BITFIELD wtc_csra_bits [] = {
47
47
BITNCF (4 ), /* Rate Select - unused MBZ for VMS */
48
48
BITFNAM (DV ,3 ,wtc_dv_modes ), /* Divider Select */
@@ -59,9 +59,9 @@ BITFIELD wtc_csra_bits[] = {
59
59
#define WTC_CSRB_UIE 0x10 /* update ended interrupt enable (Not Used by VMS) */
60
60
#define WTC_CSRB_SQWE 0x08 /* square wave enable (Not Used by VMS) */
61
61
#define WTC_CSRB_WR (WTC_CSRB_DSE | WTC_CSRB_2412 | WTC_CSRB_DM | WTC_CSRB_SET)
62
- char * wtc_dse_modes [] = {"Disabled" , "Enabled" };
63
- char * wtc_hr_modes [] = {"12Hr" , "24Hr" };
64
- char * wtc_data_modes [] = {"BCD" , "Binary" };
62
+ const char * wtc_dse_modes [] = {"Disabled" , "Enabled" };
63
+ const char * wtc_hr_modes [] = {"12Hr" , "24Hr" };
64
+ const char * wtc_data_modes [] = {"BCD" , "Binary" };
65
65
BITFIELD wtc_csrb_bits [] = {
66
66
BITFNAM (DST ,1 ,wtc_dse_modes ), /* Daylight Savings Time Enable */
67
67
BITFNAM (24 HR ,1 ,wtc_hr_modes ), /* 24/12 Hour Mode */
@@ -95,7 +95,7 @@ BITFIELD* wtc_bitdefs[] = {wtc_value_bits, wtc_value_bits, wtc_value_bits, wtc_v
95
95
96
96
#define WTC_MODE_STD 0
97
97
#define WTC_MODE_VMS 1
98
- char * wtc_modes [] = {"Std" , "VMS" };
98
+ const char * wtc_modes [] = {"Std" , "VMS" };
99
99
BITFIELD wtc_mode_bits [] = {
100
100
BITFNAM (MODE ,1 ,wtc_modes ), /* Watch Date/Time mode */
101
101
ENDBITS
0 commit comments