mirror of https://gitee.com/openkylin/linux.git
arm: convert use of typedef ctl_table to struct ctl_table
This typedef is unnecessary and should just be removed. Signed-off-by: Joe Perches <joe@perches.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
parent
119ce5c8b9
commit
37649de239
|
@ -20,7 +20,7 @@
|
|||
|
||||
static unsigned int isa_membase, isa_portbase, isa_portshift;
|
||||
|
||||
static ctl_table ctl_isa_vars[4] = {
|
||||
static struct ctl_table ctl_isa_vars[4] = {
|
||||
{
|
||||
.procname = "membase",
|
||||
.data = &isa_membase,
|
||||
|
@ -44,7 +44,7 @@ static ctl_table ctl_isa_vars[4] = {
|
|||
|
||||
static struct ctl_table_header *isa_sysctl_header;
|
||||
|
||||
static ctl_table ctl_isa[2] = {
|
||||
static struct ctl_table ctl_isa[2] = {
|
||||
{
|
||||
.procname = "isa",
|
||||
.mode = 0555,
|
||||
|
@ -52,7 +52,7 @@ static ctl_table ctl_isa[2] = {
|
|||
}, {}
|
||||
};
|
||||
|
||||
static ctl_table ctl_bus[2] = {
|
||||
static struct ctl_table ctl_bus[2] = {
|
||||
{
|
||||
.procname = "bus",
|
||||
.mode = 0555,
|
||||
|
|
Loading…
Reference in New Issue