diff options
author | Simon Sandström <simon@nikanor.nu> | 2017-12-06 21:42:23 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-12-06 22:07:23 +0100 |
commit | 534a2610e1445689055cc9f4fbb55eb7002378ef (patch) | |
tree | 0f8e4dde777c1028fca0bcbfbc29287a4258b480 /drivers/staging/pi433 | |
parent | c5a5bd6bdab597606ff80151dcf34159e21f3e8b (diff) | |
download | op-kernel-dev-534a2610e1445689055cc9f4fbb55eb7002378ef.zip op-kernel-dev-534a2610e1445689055cc9f4fbb55eb7002378ef.tar.gz |
staging: pi433: Move enum option_on_off to pi433_if.h
The enum is now only used for ioctl, so move it pi433_if.h.
Signed-off-by: Simon Sandström <simon@nikanor.nu>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/pi433')
-rw-r--r-- | drivers/staging/pi433/pi433_if.h | 5 | ||||
-rw-r--r-- | drivers/staging/pi433/rf69_enum.h | 5 |
2 files changed, 5 insertions, 5 deletions
diff --git a/drivers/staging/pi433/pi433_if.h b/drivers/staging/pi433/pi433_if.h index bcfe298..c8697d1 100644 --- a/drivers/staging/pi433/pi433_if.h +++ b/drivers/staging/pi433/pi433_if.h @@ -37,6 +37,11 @@ /*---------------------------------------------------------------------------*/ +enum option_on_off { + OPTION_OFF, + OPTION_ON +}; + /* IOCTL structs and commands */ /** diff --git a/drivers/staging/pi433/rf69_enum.h b/drivers/staging/pi433/rf69_enum.h index b0715b4..4e64e38 100644 --- a/drivers/staging/pi433/rf69_enum.h +++ b/drivers/staging/pi433/rf69_enum.h @@ -18,11 +18,6 @@ #ifndef RF69_ENUM_H #define RF69_ENUM_H -enum option_on_off { - OPTION_OFF, - OPTION_ON -}; - enum mode { mode_sleep, standby, |