Re: [PATCH 08/10] m68k: stmark2: add mcf5441x DAC platform devices
From: Andy Shevchenko
Date: Tue May 05 2026 - 04:32:00 EST
On Mon, May 04, 2026 at 07:16:46PM +0200, Angelo Dureghello wrote:
> Add mcf5441x DAC platform devices.
...
> +static struct resource dspi_dac0_resource[] = {
> + [0] = {
> + .start = MCFDAC_BASE0,
> + .end = MCFDAC_BASE0 + 0xFF,
> + .flags = IORESOURCE_MEM,
> + },
> +};
ioport.h has a lot of DEFINE_RES() macros. Please, choose the best fit in each
case and use them.
--
With Best Regards,
Andy Shevchenko