From patchwork Mon Apr 23 13:21:06 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Antonio Ospite X-Patchwork-Id: 10824 Received: from mail.tu-berlin.de ([130.149.7.33]) by www.linuxtv.org with esmtp (Exim 4.72) (envelope-from ) id 1SMJCz-00086F-Dd for patchwork@linuxtv.org; Mon, 23 Apr 2012 15:21:37 +0200 X-tubIT-Incoming-IP: 209.132.180.67 Received: from vger.kernel.org ([209.132.180.67]) by mail.tu-berlin.de (exim-4.75/mailfrontend-3) with esmtp for id 1SMJCy-0000Hc-Fh; Mon, 23 Apr 2012 15:21:37 +0200 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753786Ab2DWNVc (ORCPT ); Mon, 23 Apr 2012 09:21:32 -0400 Received: from smtp209.alice.it ([82.57.200.105]:48870 "EHLO smtp209.alice.it" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753778Ab2DWNVa (ORCPT ); Mon, 23 Apr 2012 09:21:30 -0400 Received: from jcn (79.2.146.32) by smtp209.alice.it (8.6.023.02) id 4EF08A630DB75A13; Mon, 23 Apr 2012 15:21:28 +0200 Received: from ao2 by jcn with local (Exim 4.77) (envelope-from ) id 1SMJCn-0007HJ-U9; Mon, 23 Apr 2012 15:21:25 +0200 From: Antonio Ospite To: linux-media@vger.kernel.org Cc: Antonio Ospite , Jean-Francois Moine , linux-input@vger.kernel.org, Dmitry Torokhov , Johann Deneux , Anssi Hannula , Jonathan Corbet Subject: [PATCH 2/3] Input: move drivers/input/fixp-arith.h to include/linux Date: Mon, 23 Apr 2012 15:21:06 +0200 Message-Id: <1335187267-27940-3-git-send-email-ospite@studenti.unina.it> X-Mailer: git-send-email 1.7.10 In-Reply-To: <1335187267-27940-1-git-send-email-ospite@studenti.unina.it> References: <1335187267-27940-1-git-send-email-ospite@studenti.unina.it> X-Face: z*RaLf`X<@C75u6Ig9}{oW$H; 1_\2t5)({*|jhM/Vb; ]yA5\I~93>J<_`<4)A{':UrE Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org X-PMX-Version: 5.6.1.2065439, Antispam-Engine: 2.7.2.376379, Antispam-Data: 2012.4.23.125720 X-PMX-Spam: Gauge=IIIIIIII, Probability=8%, Report=' MULTIPLE_RCPTS 0.1, HTML_00_01 0.05, HTML_00_10 0.05, BODYTEXTP_SIZE_3000_LESS 0, BODY_SIZE_1300_1399 0, BODY_SIZE_2000_LESS 0, BODY_SIZE_5000_LESS 0, BODY_SIZE_7000_LESS 0, URI_ENDS_IN_HTML 0, __ANY_URI 0, __CP_MEDIA_BODY 0, __CP_URI_IN_BODY 0, __FRAUD_BODY_WEBMAIL 0, __FRAUD_WEBMAIL 0, __HAS_MSGID 0, __HAS_X_MAILER 0, __HAS_X_MAILING_LIST 0, __MIME_TEXT_ONLY 0, __MULTIPLE_RCPTS_CC_X2 0, __SANE_MSGID 0, __STOCK_PHRASE_7 0, __TO_MALFORMED_2 0, __TO_NO_NAME 0, __URI_NO_WWW 0, __URI_NS ' Move drivers/input/fixp-arith.h to include/linux so that the functions defined there can be used by other subsystems, for instance some video devices ISPs can control the output HUE value by setting registers for sin(HUE) and cos(HUE). Signed-off-by: Antonio Ospite Acked-by: Dmitry Torokhov --- drivers/input/ff-memless.c | 3 +-- {drivers/input => include/linux}/fixp-arith.h | 0 2 files changed, 1 insertion(+), 2 deletions(-) rename {drivers/input => include/linux}/fixp-arith.h (100%) diff --git a/drivers/input/fixp-arith.h b/include/linux/fixp-arith.h similarity index 100% rename from drivers/input/fixp-arith.h rename to include/linux/fixp-arith.h diff --git a/drivers/input/ff-memless.c b/drivers/input/ff-memless.c index 117a59a..5f55885 100644 --- a/drivers/input/ff-memless.c +++ b/drivers/input/ff-memless.c @@ -31,8 +31,7 @@ #include #include #include - -#include "fixp-arith.h" +#include MODULE_LICENSE("GPL"); MODULE_AUTHOR("Anssi Hannula ");