From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sebastian Reichel Subject: Re: [PATCH 3/7] iommu/omap: Convert to devicetree Date: Thu, 2 Jan 2014 02:01:52 +0100 Message-ID: <20140102010150.GA9933@earth.universe> References: <1387284818-28739-1-git-send-email-florian.vaussard@epfl.ch> <1387284818-28739-4-git-send-email-florian.vaussard@epfl.ch> <1764051.JiGg1d3s1L@avalon> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="GvXjxJ+pjyke8COw" Return-path: Content-Disposition: inline In-Reply-To: <1764051.JiGg1d3s1L@avalon> Sender: linux-doc-owner@vger.kernel.org To: Laurent Pinchart Cc: Florian Vaussard , Joerg Roedel , Tony Lindgren , =?iso-8859-1?Q?Beno=EEt?= Cousson , Rob Herring , Pawel Moll , Mark Rutland , Ian Campbell , Kumar Gala , Rob Landley , Grant Likely , Hiroshi Doyu , iommu@lists.linux-foundation.org, devicetree@vger.kernel.org, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-omap@vger.kernel.org, linux-arm-kernel@lists.infradead.org List-Id: linux-omap@vger.kernel.org --GvXjxJ+pjyke8COw Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi, On Thu, Jan 02, 2014 at 01:13:42AM +0100, Laurent Pinchart wrote: > > + .of_match_table =3D omap_iommu_of_match, >=20 > If CONFIG_OF isn't defined (pretty unlikely I agree, but a possibility yo= u=20 > seem to be prepared for nonetheless given the above #if), this will fail = to=20 > compile. FYI: This is avoided in other drivers by using of_match_ptr(omap_iommu_of_match), which is replaced with NULL by the preprocessor if CONFIG_OF is not defined. -- Sebastian --GvXjxJ+pjyke8COw Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.15 (GNU/Linux) iQIcBAEBCAAGBQJSxLp9AAoJENju1/PIO/qa8TMQAJyNOJApiYO7fM7mlYaWa7hZ YQOdv3vPoDfgOBakYlaDcVomeAHfl/LvFYCH5aWpR26EE25v9+NvNzFv8uQJdkkI ZSjrbGprU6Tdv174XkuQNYSZm4APOHbdke8fQjB0nw5UlHGefqkh3Sen1EQHmsHC NH8f4ssoXGgMuHxMPRwo29XV28Ms+BsPBBwYZ5An0caAQaI3O9DSaWbyBfI8Bz2T St2kRa0kcxeARR7sAO1hd45wCulnPXN/X9vR7Tb8n70UIq04RMw9xrJzoEGTtW+L 8H4aazq0cNjpSs/pTmcjRVbA1ezta2peoh7cpRMcwjwCLYeN3VS46vRJzpJAfRVC oath3JxYOzwwpdtXYWR+53x6Enu4r61DP6hgIBtTek/n+svsIC0PNVvusjnNbrle lGzDS3/wV/qhYZnd6YT3xUlHcXoFfo1P10uahNNc286eCA5OSb141KYPLturuSw0 lMkHTIuYyomb+FqiR0zuAKytcF6hte49N09I6rKvQWEwZPnfLmiiYZLz//BGfLbE iJ8vDCcEZ9sJ6d56NDMUg0Od/NQz0H6IdwrLQczSpLo4Aw+dNY/jdK8yMBv8Ploj ebMGJV/YxmMizy5Vn+45spNw4cS742+FuzM7INkI0+rmrEqsE0hb9ytdEeT3l760 jWBNdGZBqgbiPBrbZS1X =/DGs -----END PGP SIGNATURE----- --GvXjxJ+pjyke8COw--