firmware loader: introduce firmware_buf
authorMing Lei <ming.lei@canonical.com>
Sat, 4 Aug 2012 04:01:20 +0000 (12:01 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 16 Aug 2012 20:15:08 +0000 (13:15 -0700)
commit1244691c73b250be522e77ac1a00ad53b601b4c4
tree84547800970274ed513d60cec3751e17e8c080f3
parent99c2aa72306079976369aad7fc62cc71931d692a
firmware loader: introduce firmware_buf

This patch introduces struct firmware_buf to describe the buffer
which holds the firmware data, which will make the following
cache_firmware/uncache_firmware implemented easily.

Signed-off-by: Ming Lei <ming.lei@canonical.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/base/firmware_class.c