Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752603AbdLFUnl (ORCPT ); Wed, 6 Dec 2017 15:43:41 -0500 Received: from mail-lf0-f67.google.com ([209.85.215.67]:39856 "EHLO mail-lf0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752085AbdLFUmd (ORCPT ); Wed, 6 Dec 2017 15:42:33 -0500 X-Google-Smtp-Source: AGs4zMbNce8qkpCnBIrsQd9JHi5BrxftsAnLABx6Jqf2wCShQEFeaq3HJMzmDqbz3rRiTQ09dJVX0Q== From: =?UTF-8?q?Simon=20Sandstr=C3=B6m?= To: gregkh@linuxfoundation.org Cc: linux@Wolf-Entwicklungen.de, devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org Subject: [PATCH 5/6] staging: pi433: Move enum option_on_off to pi433_if.h Date: Wed, 6 Dec 2017 21:42:23 +0100 Message-Id: <20171206204224.14714-6-simon@nikanor.nu> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20171206204224.14714-1-simon@nikanor.nu> References: <20171206204224.14714-1-simon@nikanor.nu> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1024 Lines: 42 The enum is now only used for ioctl, so move it pi433_if.h. Signed-off-by: Simon Sandström --- drivers/staging/pi433/pi433_if.h | 5 +++++ 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 bcfe29840889..c8697d144e2b 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 b0715b4eb6ac..4e64e38ae4ff 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, -- 2.11.0