]> git.karo-electronics.de Git - karo-tx-linux.git/commit
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, 24 Jul 2012 06:41:36 +0000 (08:41 +0200)
commit7176aa55639de260bbec49ffe6dd5d8a52e3ce27
treeca474ba285053b8445cab81a11f585b36c685620
parent78873211b7295968426442a3599bbb332da8eb44
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]

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
drivers/macintosh/mediabay.c