macintosh/mediabay: add a const qualifier
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Mon, 21 May 2012 19:57:39 +0000 (21:57 +0200)
committerUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Tue, 11 Sep 2012 06:56:55 +0000 (08:56 +0200)
commit519a6510981a98c199828df24d5d3619f6394985
treee11dd01c3d92f5dd520b0b49aa70f1a4ff376ec6
parentefc9b736c4477df7ff3ce403bca66846d21458d5
macintosh/mediabay: add a const qualifier

This prepares *of_device_id.data becoming const. Without this change
the following warning would occur:

drivers/macintosh/mediabay.c: In function 'media_bay_attach':
drivers/macintosh/mediabay.c:589:11: warning: assignment discards 'const' qualifier from pointer target type [enabled by default]

Acked-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
drivers/macintosh/mediabay.c