From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from metis.ext.pengutronix.de ([2001:6f8:1178:4:290:27ff:fe1d:cc33]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1Yi71I-0007qI-Kl for barebox@lists.infradead.org; Tue, 14 Apr 2015 20:01:17 +0000 From: =?UTF-8?q?Uwe=20Kleine-K=C3=B6nig?= Date: Tue, 14 Apr 2015 22:00:47 +0200 Message-Id: <1429041647-2020-1-git-send-email-u.kleine-koenig@pengutronix.de> MIME-Version: 1.0 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Sender: "barebox" Errors-To: barebox-bounces+u.kleine-koenig=pengutronix.de@lists.infradead.org Subject: [PATCH] drivers/base: Mark (of|platform)_device_id data as constant To: barebox@lists.infradead.org VGhlcmUgc2hvdWxkIGJlIG5vIHJlYXNvbiB0byBldmVyIGNoYW5nZSB0aGUgZGF0YSBwb2ludGVk IHRvIGJ5IGlkX3RhYmxlCm9yIG9mX2NvbXBhdGlibGUuIFNvIG1ha2UgdGhpcyBvZmZpY2FsIGJ5 IGFkZGluZyBzb21lICdjb25zdCdzLgoKSW4gTGludXggdGhlIGNvcnJlc3BvbmRpbmcgcG9pbnRl cnMgYXJlIG1hcmtlZCBhcyBjb25zdCwgdG9vLgoKU2lnbmVkLW9mZi1ieTogVXdlIEtsZWluZS1L w7ZuaWcgPHUua2xlaW5lLWtvZW5pZ0BwZW5ndXRyb25peC5kZT4KLS0tCkJ1aWxkIHRlc3RlZCBv biBhcm0vbXZlYnUrYW0zM3h4IG9ubHkKCiBkcml2ZXJzL2Jhc2UvYnVzLmMgfCA0ICsrLS0KIGlu Y2x1ZGUvZHJpdmVyLmggICB8IDYgKysrLS0tCiAyIGZpbGVzIGNoYW5nZWQsIDUgaW5zZXJ0aW9u cygrKSwgNSBkZWxldGlvbnMoLSkKCmRpZmYgLS1naXQgYS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