Linux IIO development
 help / color / mirror / Atom feed
From: Manuel Stahl <manuel.stahl@iis.fraunhofer.de>
To: Shubhrajyoti Datta <shubhrajyoti@ti.com>,
	"linux-iio@vger.kernel.org" <linux-iio@vger.kernel.org>
Cc: Jonathan Cameron <jic23@cam.ac.uk>
Subject: [PATCH] staging: iio: hmc5843: Add missing attribute name
Date: Wed, 27 Apr 2011 16:39:56 +0200	[thread overview]
Message-ID: <4DB82ABC.70304@iis.fraunhofer.de> (raw)


Signed-off-by: Manuel Stahl <manuel.stahl@iis.fraunhofer.de>
---
  drivers/staging/iio/magnetometer/hmc5843.c |    3 +++
  1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/drivers/staging/iio/magnetometer/hmc5843.c 
b/drivers/staging/iio/magnetometer/hmc5843.c
index d0676e9..b015a38 100644
--- a/drivers/staging/iio/magnetometer/hmc5843.c
+++ b/drivers/staging/iio/magnetometer/hmc5843.c
@@ -481,6 +481,8 @@ static IIO_DEVICE_ATTR(magn_scale,
  			show_scale,
  			NULL , 0);
  +static IIO_CONST_ATTR_NAME("hmc5843");
+
  static struct attribute *hmc5843_attributes[] = {
  	&iio_dev_attr_meas_conf.dev_attr.attr,
  	&iio_dev_attr_operating_mode.dev_attr.attr,
@@ -491,6 +493,7 @@ static struct attribute *hmc5843_attributes[] = {
  	&iio_dev_attr_magn_y_raw.dev_attr.attr,
  	&iio_dev_attr_magn_z_raw.dev_attr.attr,
  	&iio_const_attr_sampling_frequency_available.dev_attr.attr,
+	&iio_const_attr_name.dev_attr.attr,
  	NULL
  };
  -- 1.7.2.3

                 reply	other threads:[~2011-04-27 14:39 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4DB82ABC.70304@iis.fraunhofer.de \
    --to=manuel.stahl@iis.fraunhofer.de \
    --cc=jic23@cam.ac.uk \
    --cc=linux-iio@vger.kernel.org \
    --cc=shubhrajyoti@ti.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox