summaryrefslogtreecommitdiff
path: root/include/linux/debugobjects.h
diff options
context:
space:
mode:
authorAmit Barzilai <amit.barzilai22@gmail.com>2026-04-20 16:44:23 +0300
committerHelge Deller <deller@gmx.de>2026-04-22 16:46:40 +0200
commita40c0e815962b1f691d7ea12f7ddd42063c49f08 (patch)
tree312bfed3b8d7f8cf5a79d3d69c7b7b39f567cfe5 /include/linux/debugobjects.h
parentd2386d9e3eb4c12f55f6131ab69cc65f13b5af80 (diff)
fbdev: clps711x-fb: Request memory region for MMIO
Use devm_platform_get_and_ioremap_resource() for resource 0 (the MMIO control register range) instead of open-coding platform_get_resource() and devm_ioremap() separately. The helper requests the memory region before mapping it, which registers the range in /proc/iomem and prevents another driver from mapping the same registers. This makes resource 0 consistent with resource 1 (the framebuffer), which already uses devm_platform_get_and_ioremap_resource(). Assisted-by: Claude:claude-sonnet-4-6 Signed-off-by: Amit Barzilai <amit.barzilai22@gmail.com> Signed-off-by: Helge Deller <deller@gmx.de>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions