Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756338Ab3CHLSJ (ORCPT ); Fri, 8 Mar 2013 06:18:09 -0500 Received: from arroyo.ext.ti.com ([192.94.94.40]:56598 "EHLO arroyo.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752302Ab3CHLSH (ORCPT ); Fri, 8 Mar 2013 06:18:07 -0500 Message-ID: <5139C8DC.3010307@ti.com> Date: Fri, 8 Mar 2013 16:47:48 +0530 From: Sekhar Nori User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:17.0) Gecko/20130215 Thunderbird/17.0.3 MIME-Version: 1.0 To: Prabhakar lad CC: LMML , LKML , DLOS , Mauro Carvalho Chehab Subject: Re: [PATCH] davinci: vpbe: fix module build References: <1362738130-24543-1-git-send-email-prabhakar.lad@ti.com> In-Reply-To: <1362738130-24543-1-git-send-email-prabhakar.lad@ti.com> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 996 Lines: 25 On 3/8/2013 3:52 PM, Prabhakar lad wrote: > From: Lad, Prabhakar > > add a null entry in platform_device_id {}. > > This patch fixes following error: > drivers/media/platform/davinci/vpbe_venc: struct platform_device_id is 24 bytes. The last of 3 is: > 0x64 0x6d 0x33 0x35 0x35 0x2c 0x76 0x70 0x62 0x65 0x2d 0x76 0x65 0x6e 0x63 0x00 0x00 0x00 0x00 0x00 0x03 0x00 0x00 0x00 > FATAL: drivers/media/platform/davinci/vpbe_venc: struct platform_device_id is not terminated with a NULL entry! > make[1]: *** [__modpost] Error 1 > > Reported-by: Sekhar Nori > Signed-off-by: Lad, Prabhakar This fixed the issue for me. Thanks! Tested-by: Sekhar Nori ~Sekhar -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/