|
@@ -282,7 +282,7 @@ irqreturn_t rtc_interrupt(int irq, void *dev_id)
|
|
|
*/
|
|
|
static ctl_table rtc_table[] = {
|
|
|
{
|
|
|
- .ctl_name = 1,
|
|
|
+ .ctl_name = CTL_UNNUMBERED,
|
|
|
.procname = "max-user-freq",
|
|
|
.data = &rtc_max_user_freq,
|
|
|
.maxlen = sizeof(int),
|
|
@@ -294,9 +294,8 @@ static ctl_table rtc_table[] = {
|
|
|
|
|
|
static ctl_table rtc_root[] = {
|
|
|
{
|
|
|
- .ctl_name = 1,
|
|
|
+ .ctl_name = CTL_UNNUMBERED,
|
|
|
.procname = "rtc",
|
|
|
- .maxlen = 0,
|
|
|
.mode = 0555,
|
|
|
.child = rtc_table,
|
|
|
},
|
|
@@ -307,7 +306,6 @@ static ctl_table dev_root[] = {
|
|
|
{
|
|
|
.ctl_name = CTL_DEV,
|
|
|
.procname = "dev",
|
|
|
- .maxlen = 0,
|
|
|
.mode = 0555,
|
|
|
.child = rtc_root,
|
|
|
},
|