{"id":654,"url":"http://patchwork.ozlabs.org/api/1.0/patches/654/?format=json","project":{"id":2,"url":"http://patchwork.ozlabs.org/api/1.0/projects/2/?format=json","name":"Linux PPC development","link_name":"linuxppc-dev","list_id":"linuxppc-dev.lists.ozlabs.org","list_email":"linuxppc-dev@lists.ozlabs.org","web_url":"https://github.com/linuxppc/wiki/wiki","scm_url":"https://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux.git","webscm_url":"https://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux.git/"},"msgid":"<20080919180339.GA13899@oksana.dev.rtsoft.ru>","date":"2008-09-19T18:03:39","name":"[1/2] i2c: expand I2C's id.name to 23 characters","commit_ref":null,"pull_url":null,"state":"rejected","archived":true,"hash":"a093d9566c438fe5ea9348166f59257a020b7480","submitter":{"id":45,"url":"http://patchwork.ozlabs.org/api/1.0/people/45/?format=json","name":"Anton Vorontsov","email":"avorontsov@ru.mvista.com"},"delegate":null,"mbox":"http://patchwork.ozlabs.org/project/linuxppc-dev/patch/20080919180339.GA13899@oksana.dev.rtsoft.ru/mbox/","series":[],"check":"pending","checks":"http://patchwork.ozlabs.org/api/patches/654/checks/","tags":{},"headers":{"Return-Path":"<linuxppc-dev-bounces+patchwork-incoming=ozlabs.org@ozlabs.org>","X-Original-To":["patchwork-incoming@ozlabs.org","linuxppc-dev@ozlabs.org"],"Delivered-To":["patchwork-incoming@ozlabs.org","linuxppc-dev@ozlabs.org"],"Received":["from ozlabs.org (localhost [127.0.0.1])\n\tby ozlabs.org (Postfix) with ESMTP id D7552DE563\n\tfor <patchwork-incoming@ozlabs.org>;\n\tSat, 20 Sep 2008 04:03:54 +1000 (EST)","from buildserver.ru.mvista.com (unknown [85.21.88.6])\n\tby ozlabs.org (Postfix) with ESMTP id DA914DDFD7\n\tfor <linuxppc-dev@ozlabs.org>; Sat, 20 Sep 2008 04:03:41 +1000 (EST)","from localhost (unknown [10.150.0.9])\n\tby buildserver.ru.mvista.com (Postfix) with ESMTP\n\tid D34788821; Fri, 19 Sep 2008 23:03:39 +0500 (SAMST)"],"Date":"Fri, 19 Sep 2008 22:03:39 +0400","From":"Anton Vorontsov <avorontsov@ru.mvista.com>","To":"Jean Delvare <khali@linux-fr.org>,\n\tBen Dooks <ben-linux@fluff.org>","Subject":"[PATCH 1/2] i2c: expand I2C's id.name to 23 characters","Message-ID":"<20080919180339.GA13899@oksana.dev.rtsoft.ru>","MIME-Version":"1.0","Content-Disposition":"inline","User-Agent":"Mutt/1.5.18 (2008-05-17)","Cc":"linuxppc-dev@ozlabs.org, i2c@lm-sensors.org","X-BeenThere":"linuxppc-dev@ozlabs.org","X-Mailman-Version":"2.1.11","Precedence":"list","List-Id":"Linux on PowerPC Developers Mail List <linuxppc-dev.ozlabs.org>","List-Unsubscribe":"<https://ozlabs.org/mailman/options/linuxppc-dev>,\n\t<mailto:linuxppc-dev-request@ozlabs.org?subject=unsubscribe>","List-Archive":"<http://ozlabs.org/pipermail/linuxppc-dev>","List-Post":"<mailto:linuxppc-dev@ozlabs.org>","List-Help":"<mailto:linuxppc-dev-request@ozlabs.org?subject=help>","List-Subscribe":"<https://ozlabs.org/mailman/listinfo/linuxppc-dev>,\n\t<mailto:linuxppc-dev-request@ozlabs.org?subject=subscribe>","Content-Type":"text/plain; charset=\"us-ascii\"","Content-Transfer-Encoding":"7bit","Sender":"linuxppc-dev-bounces+patchwork-incoming=ozlabs.org@ozlabs.org","Errors-To":"linuxppc-dev-bounces+patchwork-incoming=ozlabs.org@ozlabs.org"},"content":"It was discussed[1] that we should match on the first (most specific)\nentry in the device tree.\n\nThe most lengthy I2C compatible entry for the MPC8349E-mITX MCU\ndevices is \"mc9s08qg8-mpc8349emitx\" (w/o vendor name). This means\nthat we have to allow longer IDs to be used in the I2C subsystem.\n\n[1] http://www.mail-archive.com/linuxppc-dev@ozlabs.org/msg21196.html\n\nSigned-off-by: Anton Vorontsov <avorontsov@ru.mvista.com>","diff":"diff --git a/include/linux/mod_devicetable.h b/include/linux/mod_devicetable.h\nindex c4db582..9d9d1f5 100644\n--- a/include/linux/mod_devicetable.h\n+++ b/include/linux/mod_devicetable.h\n@@ -379,7 +379,7 @@ struct virtio_device_id {\n \n /* i2c */\n \n-#define I2C_NAME_SIZE\t20\n+#define I2C_NAME_SIZE\t23\n #define I2C_MODULE_PREFIX \"i2c:\"\n \n struct i2c_device_id {\n","prefixes":["1/2"]}