From patchwork Tue Nov 3 19:46:28 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Palmer Dabbelt X-Patchwork-Id: 7546661 Return-Path: X-Original-To: patchwork-linux-fsdevel@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 10C72BEEA4 for ; Tue, 3 Nov 2015 19:50:46 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 2574F20320 for ; Tue, 3 Nov 2015 19:50:45 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 432D4206F3 for ; Tue, 3 Nov 2015 19:50:44 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932623AbbKCTtv (ORCPT ); Tue, 3 Nov 2015 14:49:51 -0500 Received: from mail-pa0-f51.google.com ([209.85.220.51]:34446 "EHLO mail-pa0-f51.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932486AbbKCTqz (ORCPT ); Tue, 3 Nov 2015 14:46:55 -0500 Received: by padhx2 with SMTP id hx2so19310861pad.1 for ; Tue, 03 Nov 2015 11:46:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dabbelt_com.20150623.gappssmtp.com; s=20150623; h=from:to:to:cc:cc:cc:cc:cc:cc:cc:cc:cc:cc:cc:cc:cc:cc:cc:cc:cc:cc:cc :cc:cc:cc:cc:cc:cc:cc:cc:cc:cc:cc:cc:cc:cc:cc:cc:cc:cc:cc:subject :date:message-id:in-reply-to:references; bh=fnWpnjEthJypy/YoKQgZPBA7HGj3Gg4hxr16V+02YrA=; b=Rt4s0Hxu8Ecgbtt6D/WvekTQnEUdBXd0YtwQnJsy5qQ2pHHfwdWjZjO8X8FZtcJ3l0 AyZlxDc1+B3AAncMkErLmKhNUMpQSUdjTFe/cF0AEE4G/+f9/79rjczl0/yCsfMi3rN+ mEm5MN/Lx02cdt8inmLmxewt59IwFbt2Pe5hRa8pn3ULE9s92plcDd3OumJHCpOVG2Fm 1e7vRaFsNWdTvCL4AM2IV8vDbBqtJxTLZFKyjYG/r3XBX17G6e1xGd6R1uowiWLAshYl UUMlbtK+qoF1fhik6Sj8mSJhLRfP5/Zo1qCSe8vbytXZ038tBa+aOqUkODJ/+bWcH5A+ r0ew== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:to:cc:cc:cc:cc:cc:cc:cc:cc:cc:cc:cc:cc :cc:cc:cc:cc:cc:cc:cc:cc:cc:cc:cc:cc:cc:cc:cc:cc:cc:cc:cc:cc:cc:cc :cc:cc:cc:cc:subject:date:message-id:in-reply-to:references; bh=fnWpnjEthJypy/YoKQgZPBA7HGj3Gg4hxr16V+02YrA=; b=PQE0N0fskyCmwI0Pt2K4hJnQgXs+yC6PznULyvge0mAtlY1jAXYHJP1PvBl+09BzV8 N0V8++kgpWpQxYKjWFWbHarmFIln3TDf/wS7dTMuK7XPnw074mttfJKO9gtPQhYhPvcm 6D1aMjcWa6oVXAT+mohw9HDdSDkiifmbQfjkaFc3bBiK3xlMxJU0CnYgKmYA+kbcZnic +d6SN5Kpq2LZIFcpJ5GECaMUxDjLCN7LzbJdTs6vH8kj6CtUmsG7O4L6X1KYBvnXzwvW rCcja1BODk0c15ChwGXaELkRMzWPLf/l81sBRFpByakKzxxR8oygxPNAukfs6B6rpixq BWXg== X-Gm-Message-State: ALoCoQlMEAPYSBbHaEexrrl2sI/BQKgRgNlyDf5zrNrgug6r7hy6twOWYfnwtFrxC4f6oe+Oyh1q X-Received: by 10.66.121.199 with SMTP id lm7mr36302533pab.30.1446580014853; Tue, 03 Nov 2015 11:46:54 -0800 (PST) Received: from localhost (dhcp-39-103.EECS.Berkeley.EDU. [128.32.39.103]) by smtp.gmail.com with ESMTPSA id xa4sm31086020pac.28.2015.11.03.11.46.54 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 03 Nov 2015 11:46:54 -0800 (PST) From: Palmer Dabbelt To: arnd@arndb.de To: dhowells@redhat.com Cc: viro@zeniv.linux.org.uk Cc: ast@plumgrid.com Cc: aishchuk@linux.vnet.ibm.com Cc: aarcange@redhat.com Cc: akpm@linux-foundation.org Cc: luto@kernel.org Cc: acme@kernel.org Cc: bhe@redhat.com Cc: 3chas3@gmail.com Cc: chris@zankel.net Cc: dave@sr71.net Cc: dyoung@redhat.com Cc: drysdale@google.com Cc: davem@davemloft.net Cc: ebiederm@xmission.com Cc: geoff@infradead.org Cc: gregkh@linuxfoundation.org Cc: hpa@zytor.com Cc: mingo@kernel.org Cc: iulia.manda21@gmail.com Cc: plagnioj@jcrosoft.com Cc: jikos@kernel.org Cc: josh@joshtriplett.org Cc: kexec@lists.infradead.org Cc: linux-api@vger.kernel.org Cc: linux-arch@vger.kernel.org Cc: linux-fsdevel@vger.kernel.org Cc: linux-kernel@vger.kernel.org Cc: linux-xtensa@linux-xtensa.org Cc: mathieu.desnoyers@efficios.com Cc: jcmvbkbc@gmail.com Cc: paulmck@linux.vnet.ibm.com Cc: a.p.zijlstra@chello.nl Cc: tglx@linutronix.de Cc: tomi.valkeinen@ti.com Cc: vgoyal@redhat.com Cc: x86@kernel.org Cc: Palmer Dabbelt Subject: [PATCH 07/13] Make FB_BACKLIGHT_{LEVELS,MAX} always visible Date: Tue, 3 Nov 2015 11:46:28 -0800 Message-Id: <1446579994-9937-8-git-send-email-palmer@dabbelt.com> X-Mailer: git-send-email 2.4.10 In-Reply-To: <1446579994-9937-1-git-send-email-palmer@dabbelt.com> References: <1442271047-4908-1-git-send-email-palmer@dabbelt.com> <1446579994-9937-1-git-send-email-palmer@dabbelt.com> Sender: linux-fsdevel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-fsdevel@vger.kernel.org X-Spam-Status: No, score=-6.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,T_DKIM_INVALID,T_RP_MATCHES_RCVD,UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Nothing else in the kernel defines this, and this header is visible to userspace. Rather than hiding it in an #ifdef, I think it's sane to just make this visible to userspace. Signed-off-by: Palmer Dabbelt Reviewed-by: Andrew Waterman Reviewed-by: Albert Ou --- include/uapi/linux/fb.h | 3 --- 1 file changed, 3 deletions(-) diff --git a/include/uapi/linux/fb.h b/include/uapi/linux/fb.h index fb795c3..8926f13 100644 --- a/include/uapi/linux/fb.h +++ b/include/uapi/linux/fb.h @@ -392,11 +392,8 @@ struct fb_cursor { struct fb_image image; /* Cursor image */ }; -#ifdef CONFIG_FB_BACKLIGHT /* Settings for the generic backlight code */ #define FB_BACKLIGHT_LEVELS 128 #define FB_BACKLIGHT_MAX 0xFF -#endif - #endif /* _UAPI_LINUX_FB_H */