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 bcfe29840889987b83c011c59a399e4aeaf9f243..c8697d144e2b4cfd893e0a1ab4a1fc76283d8ccf 100644 (file)
 
 /*---------------------------------------------------------------------------*/
 
+enum option_on_off {
+       OPTION_OFF,
+       OPTION_ON
+};
+
 /* IOCTL structs and commands */
 
 /**
index b0715b4eb6ac560b132a58a1c6d44b4cbae22ebf..4e64e38ae4ffdee54d69593c300bb75d76c35b06 100644 (file)
 #ifndef RF69_ENUM_H
 #define RF69_ENUM_H
 
-enum option_on_off {
-       OPTION_OFF,
-       OPTION_ON
-};
-
 enum mode {
        mode_sleep,
        standby,