linux/drivers/uwb
Emese Revfy 52cf25d0ab Driver core: Constify struct sysfs_ops in struct kobj_type
Constify struct sysfs_ops.

This is part of the ops structure constification
effort started by Arjan van de Ven et al.

Benefits of this constification:

 * prevents modification of data that is shared
   (referenced) by many other structure instances
   at runtime

 * detects/prevents accidental (but not intentional)
   modification attempts on archs that enforce
   read-only kernel data at runtime

 * potentially better optimized code as the compiler
   can assume that the const data cannot be changed

 * the compiler/linker move const data into .rodata
   and therefore exclude them from false sharing

Signed-off-by: Emese Revfy <re.emese@gmail.com>
Acked-by: David Teigland <teigland@redhat.com>
Acked-by: Matt Domsch <Matt_Domsch@dell.com>
Acked-by: Maciej Sosnowski <maciej.sosnowski@intel.com>
Acked-by: Hans J. Koch <hjk@linutronix.de>
Acked-by: Pekka Enberg <penberg@cs.helsinki.fi>
Acked-by: Jens Axboe <jens.axboe@oracle.com>
Acked-by: Stephen Hemminger <shemminger@vyatta.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2010-03-07 17:04:49 -08:00
..
i1480 tree-wide: fix assorted typos all over the place 2009-12-04 15:39:55 +01:00
wlp Driver core: Constify struct sysfs_ops in struct kobj_type 2010-03-07 17:04:49 -08:00
address.c uwb: remove unused include/linux/uwb/debug.h 2008-12-22 18:30:29 +00:00
allocator.c uwb: remove unused #include <version.h>'s 2009-01-07 10:44:42 +00:00
beacon.c uwb: remove beacon cache entry after calling uwb_notify() 2008-12-23 12:31:09 +00:00
driver.c driver-core: Add attribute argument to class_attribute show/store 2010-03-07 17:04:48 -08:00
drp-avail.c uwb: improved MAS allocator and reservation conflict handling 2008-12-12 13:00:06 +00:00
drp-ie.c uwb: improved MAS allocator and reservation conflict handling 2008-12-12 13:00:06 +00:00
drp.c uwb: lock rc->rsvs_lock with spin_lock_bh() 2009-01-23 12:57:20 +00:00
est.c uwb: use dev_dbg() for debug messages 2008-12-22 18:22:50 +00:00
hwa-rc.c uwb: avoid radio controller reset loops 2009-08-26 12:39:29 +01:00
ie-rcv.c uwb: infrastructure for handling Relinquish Request IEs 2008-11-04 15:53:29 +00:00
ie.c uwb: order IEs by element ID 2008-10-28 12:09:17 +00:00
Kconfig trivial: fix typos/grammar errors in Kconfig texts 2009-03-30 15:22:01 +02:00
lc-dev.c driver model: constify attribute groups 2009-09-15 09:50:47 -07:00
lc-rc.c uwb: stop uwbd thread if rc->start() fails 2009-08-25 15:07:12 +01:00
Makefile uwb: improved MAS allocator and reservation conflict handling 2008-12-12 13:00:06 +00:00
neh.c tree-wide: fix a very frequent spelling mistake 2009-11-09 09:40:54 +01:00
pal.c wusb: add debug files for ASL, PZL and DI to the whci-hcd driver 2008-11-26 13:36:59 +00:00
radio.c uwb: add basic radio manager 2008-11-19 14:46:33 +00:00
reset.c uwb: avoid radio controller reset loops 2009-08-26 12:39:29 +01:00
rsv.c uwb: lock rc->rsvs_lock with spin_lock_bh() 2009-01-23 12:57:20 +00:00
scan.c uwb: add the UWB stack (MLME) 2008-09-17 16:54:24 +01:00
umc-bus.c uwb: avoid radio controller reset loops 2009-08-26 12:39:29 +01:00
umc-dev.c uwb: use dev_dbg() for debug messages 2008-12-22 18:22:50 +00:00
umc-drv.c uwb: add the umc bus 2008-09-17 16:54:25 +01:00
uwb-debug.c const: constify remaining file_operations 2009-10-01 16:11:11 -07:00
uwb-internal.h uwb: improved MAS allocator and reservation conflict handling 2008-12-12 13:00:06 +00:00
uwbd.c uwb: handle radio controller events with out-of-range IDs correctly 2009-08-25 15:03:07 +01:00
whc-rc.c headers: remove sched.h from interrupt.h 2009-10-11 11:20:58 -07:00
whci.c dma-mapping: replace all DMA_32BIT_MASK macro with DMA_BIT_MASK(32) 2009-04-07 08:31:11 -07:00