From patchwork Wed Mar 16 07:18:41 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dmitry Torokhov X-Patchwork-Id: 638731 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter1.kernel.org (8.14.4/8.14.3) with ESMTP id p2G7I6Nw002081 for ; Wed, 16 Mar 2011 07:18:47 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752052Ab1CPHSq (ORCPT ); Wed, 16 Mar 2011 03:18:46 -0400 Received: from mail-yw0-f46.google.com ([209.85.213.46]:36065 "EHLO mail-yw0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752037Ab1CPHSq (ORCPT ); Wed, 16 Mar 2011 03:18:46 -0400 Received: by ywj3 with SMTP id 3so546490ywj.19 for ; Wed, 16 Mar 2011 00:18:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:from:subject:to:cc:date:message-id:in-reply-to :references:user-agent:mime-version:content-type :content-transfer-encoding; bh=Tu3IjM6Y/VTcFOry3/Iaz5Rg3KVT1kNIP11oOqmQ158=; b=LYyAfC7R02BOdGBw4RkLtpTdGw2NaSIbGDEaQ/M6o36i4niD0PEP9GFgWXowb0KTqR ZG++ztbqzPt917xAa+uz5+jG/QvF/aSE4TJRLHaCQj2ivfYVn12aiHe4UfGmRTtDzQob W7FFNAah3PKNcjGMK6y1BmcVv3KMRYIB5WbSs= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:subject:to:cc:date:message-id:in-reply-to:references :user-agent:mime-version:content-type:content-transfer-encoding; b=t+sxtuzqTHiXMAIUKIXdehhTs6Yfh02iRoiyIJz5Ue6PV6+YnD5eSU0a7LPHM0m6et R95Ay/RUu0/KWyQzKw4dZ88eb/VvtQJ/BoDNVGSkDHkNfN1RucskIieYyrQFFfVY2FsL jeK1UL4I7W6ePJwF8J6WQZUW5RVZSCZYl85Rg= Received: by 10.90.41.13 with SMTP id o13mr962137ago.200.1300259925601; Wed, 16 Mar 2011 00:18:45 -0700 (PDT) Received: from mailhub.coreip.homeip.net (c-98-234-113-65.hsd1.ca.comcast.net [98.234.113.65]) by mx.google.com with ESMTPS id w39sm855652ana.13.2011.03.16.00.18.42 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 16 Mar 2011 00:18:45 -0700 (PDT) From: Dmitry Torokhov Subject: [PATCH 08/17] Input: tsc2005 - set up bus type in input device To: Srikar , Phil Carmody , Aaro Koskinen Cc: linux-input@vger.kernel.org, lauri.leukkunen@nokia.com, David Brownell , Imre Deak , Hiroshi DOYU , Ari Kauppi , Tony Lindgren , Jarkko Nikula , Eero Nurkkala , Roman Tereshonkov Date: Wed, 16 Mar 2011 00:18:41 -0700 Message-ID: <20110316071840.25664.3843.stgit@hammer.corenet.prv> In-Reply-To: <20110316071503.25664.55116.stgit@hammer.corenet.prv> References: <20110316071503.25664.55116.stgit@hammer.corenet.prv> User-Agent: StGIT/0.14.3 MIME-Version: 1.0 Sender: linux-input-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-input@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.6 (demeter1.kernel.org [140.211.167.41]); Wed, 16 Mar 2011 07:18:47 +0000 (UTC) diff --git a/drivers/input/touchscreen/tsc2005.c b/drivers/input/touchscreen/tsc2005.c index e294648..09cbcb0 100644 --- a/drivers/input/touchscreen/tsc2005.c +++ b/drivers/input/touchscreen/tsc2005.c @@ -555,6 +555,7 @@ static int __devinit tsc2005_setup(struct tsc2005 *ts, snprintf(ts->phys, sizeof(ts->phys), "%s/input-ts", dev_name(&ts->spi->dev)); ts->idev->phys = ts->phys; + ts->idev->id.bustype = BUS_SPI; ts->idev->dev.parent = &ts->spi->dev; ts->idev->evbit[0] = BIT(EV_ABS) | BIT(EV_KEY); ts->idev->absbit[0] = BIT(ABS_X) | BIT(ABS_Y) | BIT(ABS_PRESSURE);