Re: [PATCH 08/10] m68k: stmark2: add mcf5441x DAC platform devices

Andy Shevchenko
2026-05-05T08:31:45Z

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