staging: pi433: Move enum option_on_off to pi433_if.h
authorSimon Sandström <simon@nikanor.nu>
Wed, 6 Dec 2017 20:42:23 +0000 (21:42 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 6 Dec 2017 21:07:23 +0000 (22:07 +0100)
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>
drivers/staging/pi433/pi433_if.h
drivers/staging/pi433/rf69_enum.h

index bcfe298..c8697d1 100644 (file)
 
 /*---------------------------------------------------------------------------*/
 
+enum option_on_off {
+       OPTION_OFF,
+       OPTION_ON
+};
+
 /* IOCTL structs and commands */
 
 /**
index b0715b4..4e64e38 100644 (file)
 #ifndef RF69_ENUM_H
 #define RF69_ENUM_H
 
-enum option_on_off {
-       OPTION_OFF,
-       OPTION_ON
-};
-
 enum mode {
        mode_sleep,
        standby,