Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit ff84d2b7 authored by Brian Norris's avatar Brian Norris
Browse files

mtd: maps: rbtx4939-flash: fix compile error



We got the syntax wrong here. Compile tested this time!

Error:

   drivers/mtd/maps/rbtx4939-flash.c: In function 'rbtx4939_flash_probe':
>> drivers/mtd/maps/rbtx4939-flash.c:99:11: error: request for member 'dev' in something not a structure or union
     info->mtd.dev.parent = &dev->dev;
              ^

Fixes: 9aa7e502 ("mtd: maps: rbtx4939-flash: show parent device in sysfs")
Reported-by: default avatarkbuild test robot <fengguang.wu@intel.com>
Signed-off-by: default avatarBrian Norris <computersforpeace@gmail.com>
Cc: Frans Klaver <fransklaver@gmail.com>
parent 137d36af
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment