firmware: make fw->data const
authorDavid Woodhouse <dwmw2@infradead.org>
Fri, 23 May 2008 17:38:49 +0000 (18:38 +0100)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Thu, 10 Jul 2008 13:29:25 +0000 (14:29 +0100)
commitb7a39bd0afc4021e8ad2b1189e884551e147427f
tree41d36cfe80aee9cb7013b86b6122b85b775c0843
parentfd4f80de4612cc5255c108a8c13df88f89c46654
firmware: make fw->data const

In preparation for supporting firmware files linked into the static
kernel, make fw->data const to ensure that users aren't modifying it (so
that we can pass a pointer to the original in-kernel copy, rather than
having to copy it).

Signed-off-by: David Woodhouse <dwmw2@infradead.org>
drivers/base/firmware_class.c
include/linux/firmware.h