This commit fixes a simple typo s/mvmem/nvmem in the example.
Showing the changes to include/linux/platform_data (1 of 1 file). Show all
Unified · Split
| @@ -26,7 +26,7 @@ · 25 unmodified lines | |||
| 26 | * | 26 | * |
| 27 | * An example in pseudo code for a setup() callback: | 27 | * An example in pseudo code for a setup() callback: |
| 28 | * | 28 | * |
| 29 | * void get_mac_addr(struct mvmem_device *nvmem, void *context) | 29 | * void get_mac_addr(struct nvmem_device *nvmem, void *context) |
| 30 | * { | 30 | * { |
| 31 | * u8 *mac_addr = ethernet_pdata->mac_addr; | 31 | * u8 *mac_addr = ethernet_pdata->mac_addr; |
| 32 | * off_t offset = context; | 32 | * off_t offset = context; |