From patchwork Tue Dec 29 18:48:04 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Francesco Lavra X-Patchwork-Id: 70126 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter.kernel.org (8.14.3/8.14.2) with ESMTP id nBTIlWrr029891 for ; Tue, 29 Dec 2009 18:47:32 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752102AbZL2SrY (ORCPT ); Tue, 29 Dec 2009 13:47:24 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752066AbZL2SrY (ORCPT ); Tue, 29 Dec 2009 13:47:24 -0500 Received: from cp-out10.libero.it ([212.52.84.110]:42085 "EHLO cp-out10.libero.it" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752060AbZL2SrX (ORCPT ); Tue, 29 Dec 2009 13:47:23 -0500 Received: from [151.81.53.78] (151.81.53.78) by cp-out10.libero.it (8.5.107) id 4B326F69006BEECE for linux-media@vger.kernel.org; Tue, 29 Dec 2009 19:47:22 +0100 Subject: [PATCH] IR: Fix sysfs attributes declaration From: Francesco Lavra To: linux-media@vger.kernel.org Date: Tue, 29 Dec 2009 19:48:04 +0100 Message-Id: <1262112484.2707.7.camel@localhost> Mime-Version: 1.0 X-Mailer: Evolution 2.0.1-1mdk Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org --- a/linux/drivers/media/IR/ir-sysfs.c 2009-12-29 19:36:04.000000000 +0100 +++ b/linux/drivers/media/IR/ir-sysfs.c 2009-12-29 19:36:49.000000000 +0100 @@ -127,6 +127,7 @@ static DEVICE_ATTR(current_protocol, S_I static struct attribute *ir_dev_attrs[] = { &dev_attr_current_protocol.attr, + NULL, }; /**