diff options
author | Brian Norris <computersforpeace@gmail.com> | 2015-11-20 06:28:39 +0300 |
---|---|---|
committer | Brian Norris <computersforpeace@gmail.com> | 2015-12-05 02:28:56 +0300 |
commit | 2524534dbb2372a666f30e0da2f97cd7f0d7f76c (patch) | |
tree | e7ef0eae3314712a3d44e0a7b6c93fdfb8d8dcf9 /drivers/mtd/spi-nor | |
parent | d121b66d25adfa8b631dc59511ebc1d600ad5111 (diff) | |
download | linux-2524534dbb2372a666f30e0da2f97cd7f0d7f76c.tar.xz |
mtd: partitions: turn PART() macro into inline function
We can guard against reorganization of struct mtd_part by using
container_of(). We can also make sure we're using the right pointer
types by making this a static inline function instead of a macro.
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
Diffstat (limited to 'drivers/mtd/spi-nor')
0 files changed, 0 insertions, 0 deletions