Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 22943364 authored by Eric W. Biederman's avatar Eric W. Biederman Committed by Linus Torvalds
Browse files

[PATCH] sysctl: remove sys_sysctl support from the hpet timer driver



In the binary sysctl interface the hpet driver was claiming to be the cdrom
driver.  This is a no-no so remove support for the binary interface.

Signed-off-by: default avatarEric W. Biederman <ebiederm@xmission.com>
Acked-by: default avatarClemens Ladisch <clemens@ladisch.de>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent c37ce032
Loading
Loading
Loading
Loading
+2 −2
Original line number Original line Diff line number Diff line
@@ -703,7 +703,7 @@ int hpet_control(struct hpet_task *tp, unsigned int cmd, unsigned long arg)


static ctl_table hpet_table[] = {
static ctl_table hpet_table[] = {
	{
	{
	 .ctl_name = 1,
	 .ctl_name = CTL_UNNUMBERED,
	 .procname = "max-user-freq",
	 .procname = "max-user-freq",
	 .data = &hpet_max_freq,
	 .data = &hpet_max_freq,
	 .maxlen = sizeof(int),
	 .maxlen = sizeof(int),
@@ -715,7 +715,7 @@ static ctl_table hpet_table[] = {


static ctl_table hpet_root[] = {
static ctl_table hpet_root[] = {
	{
	{
	 .ctl_name = 1,
	 .ctl_name = CTL_UNNUMBERED,
	 .procname = "hpet",
	 .procname = "hpet",
	 .maxlen = 0,
	 .maxlen = 0,
	 .mode = 0555,
	 .mode = 0555,