Geoff Levand c18e68696f net/connector: Add const qualifier to cb_id
The connector driver never modifies any cb_id passed to it, so add a const
qualifier to those arguments so callers can declare their struct cb_id as a
constant object.

Fixes build warnings like these when passing a constant struct cb_id:

  warning: passing argument 1 of ‘cn_add_callback’ discards ‘const’ qualifier from pointer target

Signed-off-by: Geoff Levand <geoff@infradead.org>
Link: https://lore.kernel.org/r/a9e49c9e-67fa-16e7-0a6b-72f6bd30c58a@infradead.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2020-12-16 11:06:49 -08:00
..
2020-08-07 12:41:36 -07:00
2020-10-15 10:46:16 -07:00
2019-07-15 11:03:03 -03:00
2020-10-16 15:02:21 -07:00
2019-07-26 08:15:26 -06:00
2019-06-07 11:35:15 -06:00
2020-11-04 11:49:10 +10:00
2016-09-06 09:14:52 -06:00
2020-12-15 13:22:29 -08:00
2020-06-02 20:32:53 -03:00
2019-10-07 09:47:37 -07:00
2018-04-20 19:14:40 -04:00
2016-09-06 09:14:52 -06:00