Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1427882

Re: [PATCH 2/2] bus: mvebu-mbus: make mvebu_mbus_syscore_ops static

From Arnd Bergmann <arnd@arndb.de>
Newsgroups linux.kernel
Subject Re: [PATCH 2/2] bus: mvebu-mbus: make mvebu_mbus_syscore_ops static
Date 2016-06-21 17:40 +0200
Message-ID <rMvWq-7DO-11@gated-at.bofh.it> (permalink)
References <rMvWq-7DO-13@gated-at.bofh.it> <rMvWq-7DO-15@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Tuesday, June 21, 2016 4:16:19 PM CEST Ben Dooks wrote:
> 
> -struct syscore_ops mvebu_mbus_syscore_ops = {
> +static struct syscore_ops mvebu_mbus_syscore_ops = {
>         .suspend        = mvebu_mbus_suspend,
>         .resume         = mvebu_mbus_resume,
>  };
> 


Looks good, but I immediately thought it should be "const" as well.
Unfortunately there is a list_head in them, so that isn't easy,
but if anyone has an idea for how to make these all const, that
would be nice.

Anyway, that shouldn't stop your patch from getting merged, so

Acked-by: Arnd Bergmann <arnd@arndb.de>

(also for patch 1/2).

	Arnd

Back to linux.kernel | Previous | Next | Find similar | Unroll thread


Thread

Re: [PATCH 2/2] bus: mvebu-mbus: make mvebu_mbus_syscore_ops static Arnd Bergmann <arnd@arndb.de> - 2016-06-21 17:40 +0200

csiph-web