From patchwork Mon Mar 14 20:43:07 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stefan Achatz X-Patchwork-Id: 634601 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter1.kernel.org (8.14.4/8.14.3) with ESMTP id p2EKhEHH020443 for ; Mon, 14 Mar 2011 20:43:14 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757010Ab1CNUnN (ORCPT ); Mon, 14 Mar 2011 16:43:13 -0400 Received: from mail-in-16.arcor-online.net ([151.189.21.56]:42697 "EHLO mail-in-16.arcor-online.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756297Ab1CNUnM (ORCPT ); Mon, 14 Mar 2011 16:43:12 -0400 Received: from mail-in-06-z2.arcor-online.net (mail-in-06-z2.arcor-online.net [151.189.8.18]) by mx.arcor.de (Postfix) with ESMTP id 589B2873D; Mon, 14 Mar 2011 21:43:09 +0100 (CET) Received: from mail-in-01.arcor-online.net (mail-in-01.arcor-online.net [151.189.21.41]) by mail-in-06-z2.arcor-online.net (Postfix) with ESMTP id 4B3EC157749; Mon, 14 Mar 2011 21:43:09 +0100 (CET) Received: from [192.168.0.7] (dslb-084-057-004-205.pools.arcor-ip.net [84.57.4.205]) (Authenticated sender: screamingfist@arcor.de) by mail-in-01.arcor-online.net (Postfix) with ESMTPSA id 01A0A5A3C3; Mon, 14 Mar 2011 21:43:07 +0100 (CET) X-DKIM: Sendmail DKIM Filter v2.8.2 mail-in-01.arcor-online.net 01A0A5A3C3 Subject: [PATCH] HID: roccat: Corrected mode of sysfs attr 'sensor' from koneplus driver From: Stefan Achatz Reply-To: erazor_de@users.sourceforge.net To: Jiri Kosina , linux-input@vger.kernel.org, linux-kernel@vger.kernel.org Date: Mon, 14 Mar 2011 21:43:07 +0100 Message-ID: <1300135387.7466.0.camel@neuromancer> Mime-Version: 1.0 X-Mailer: Evolution 2.30.3 (2.30.3-1.fc13) Sender: linux-input-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-input@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.6 (demeter1.kernel.org [140.211.167.41]); Mon, 14 Mar 2011 20:43:14 +0000 (UTC) diff --git a/drivers/hid/hid-roccat-koneplus.c b/drivers/hid/hid-roccat-koneplus.c index a8e2117..33eec74 100644 --- a/drivers/hid/hid-roccat-koneplus.c +++ b/drivers/hid/hid-roccat-koneplus.c @@ -460,7 +460,7 @@ static struct device_attribute koneplus_attributes[] = { static struct bin_attribute koneplus_bin_attributes[] = { { - .attr = { .name = "sensor", .mode = 0220 }, + .attr = { .name = "sensor", .mode = 0660 }, .size = sizeof(struct koneplus_sensor), .read = koneplus_sysfs_read_sensor, .write = koneplus_sysfs_write_sensor