Staging: iio: fix duplicate dev_attr_name
authorRandy Dunlap <randy.dunlap@oracle.com>
Fri, 21 Aug 2009 20:59:08 +0000 (13:59 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 15 Sep 2009 19:02:26 +0000 (12:02 -0700)
commit2fdec57610309f2cf67a8c0a82d262045bcd8c41
treed7a56a4d047db3cf2f71768f5539b10642b6e20f
parent3860dc82e64f66b861159ae6ffd7f128ff7a5c19
Staging: iio: fix duplicate dev_attr_name

device attr's should be static, otherwise duplicate identifiers are
created:

drivers/staging/iio/trigger/iio-trig-gpio.o:(.data+0x1c): multiple definition of `dev_attr_name'

Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Cc: Jonathan Cameron <jic23@cam.ac.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/iio/accel/lis3l02dq_ring.c
drivers/staging/iio/trigger/iio-trig-gpio.c
drivers/staging/iio/trigger/iio-trig-periodic-rtc.c