From: H Hartley Sweeten Date: Mon, 15 Oct 2012 17:19:06 +0000 (-0700) Subject: staging: comedi: ni_mio_common: remove devpriv macro X-Git-Tag: omap-for-v3.8/fixes-for-merge-window-v4-signed~84^2~1146 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0e05c55226bffcdd3f1393d5ab74cd0d9faff385;p=pandora-kernel.git staging: comedi: ni_mio_common: remove devpriv macro The ni_mio_common.c file is #include'd by the ni_atmio, ni_mio_cs, and ni_pcimio drivers. Those drivers all have a devpriv macro of this type: This macro relies on a local variable having a specific name. Remove its use in all the files by replacing it with a local variable. Some of the functions in ni_mio_common.c don't always use the devpriv variable due to differences in how the low-level i/o is handled by the driver. Tag the variable in those functions with __maybe_unused to avoid compile warnings. Signed-off-by: H Hartley Sweeten Cc: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed