[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAFRkauCjqXR0Us=aiJjxbrRP2cbU5HZCDL_O7w84FNAdUjwSHg@mail.gmail.com>
Date: Wed, 15 Jul 2015 15:10:20 +0800
From: Axel Lin <axel.lin@...ics.com>
To: Kishon Vijay Abraham I <kishon@...com>, Felipe Balbi <balbi@...com>
Cc: David Cohen <david.a.cohen@...ux.intel.com>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
"linux-usb@...r.kernel.org" <linux-usb@...r.kernel.org>
Subject: Re: [PATCH] phy: ulpi_phy: Add const qualifier to ops
2015-06-05 8:27 GMT+08:00 Axel Lin <axel.lin@...ics.com>:
> The ops is never changed in ulpi_phy_create(), so make it const.
Hi Kishon,
Would you pick up this patch?
Without this patch, passing a const struct phy_ops* to ulip_phy_create will
have compiler warning.
It should be fine to pass a const struct phy_ops* to ulip_phy_create and
since the drivers usually never change phy_ops after initialized,
it can be const.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists