]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
m68k: stmark2: use ioport.h macros for resources
authorAngelo Dureghello <adureghello@baylibre.com>
Wed, 10 Jun 2026 20:35:11 +0000 (22:35 +0200)
committerGreg Ungerer <gerg@kernel.org>
Thu, 11 Jun 2026 08:01:48 +0000 (18:01 +1000)
commitfed0dbb659306a1c4b388ec5c480ff6247b1d4cf
treeb8618c26b7507c90e116cba68c7c1b3f8419cd9e
parent9cacf00c83937db0af42d4e0271b5226b403838c
m68k: stmark2: use ioport.h macros for resources

Change resource declaration using DEFINE_RES_*() macros.
DEFINE_DMA_RES() is for a single dma channel, not a range, so used twice.

Also, some drivers assume IRQ resources are from index 1, so just to stay
uniform, moved IRQ resource at index 1.

Signed-off-by: Angelo Dureghello <adureghello@baylibre.com>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@intel.com>
Signed-off-by: Greg Ungerer <gerg@linux-m68k.org>
arch/m68k/coldfire/stmark2.c