Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753478Ab3ERJPn (ORCPT ); Sat, 18 May 2013 05:15:43 -0400 Received: from server.prisktech.co.nz ([115.188.14.127]:51380 "EHLO server.prisktech.co.nz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752021Ab3ERJPR (ORCPT ); Sat, 18 May 2013 05:15:17 -0400 From: Tony Prisk To: Florian Tobias Schandinat Cc: vt8500-wm8505-linux-kernel@googlegroups.com, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, tomi.valkeinen@ti.com, linux-fbdev@vger.kernel.org, Tony Prisk Subject: [PATCH 1/4] fb: vt8500: Move register defines inside driver Date: Sat, 18 May 2013 21:15:11 +1200 Message-Id: <1368868514-18975-2-git-send-email-linux@prisktech.co.nz> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1368868514-18975-1-git-send-email-linux@prisktech.co.nz> References: <1368868514-18975-1-git-send-email-linux@prisktech.co.nz> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 4390 Lines: 142 The #defines in wm8505fb_regs.h are only used in the wm8505fb driver, and don't need to be visible outside. Move the defines into the driver and remove the header. Signed-off-by: Tony Prisk --- drivers/video/wm8505fb.c | 25 +++++++++++++- drivers/video/wm8505fb_regs.h | 76 ----------------------------------------- 2 files changed, 24 insertions(+), 77 deletions(-) delete mode 100644 drivers/video/wm8505fb_regs.h diff --git a/drivers/video/wm8505fb.c b/drivers/video/wm8505fb.c index 01f9ace..f824af8 100644 --- a/drivers/video/wm8505fb.c +++ b/drivers/video/wm8505fb.c @@ -34,11 +34,34 @@ #include #include