From patchwork Sun Aug 5 11:30:40 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: tlinder X-Patchwork-Id: 1274731 Return-Path: X-Original-To: patchwork-linux-mmc@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork2.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork2.kernel.org (Postfix) with ESMTP id EDE52DF27F for ; Sun, 5 Aug 2012 11:31:54 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753589Ab2HELbA (ORCPT ); Sun, 5 Aug 2012 07:31:00 -0400 Received: from wolverine01.qualcomm.com ([199.106.114.254]:59824 "EHLO wolverine01.qualcomm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753195Ab2HELbA (ORCPT ); Sun, 5 Aug 2012 07:31:00 -0400 X-IronPort-AV: E=McAfee;i="5400,1158,6793"; a="220227921" Received: from pdmz-ns-mip.qualcomm.com (HELO mostmsg01.qualcomm.com) ([199.106.114.10]) by wolverine01.qualcomm.com with ESMTP/TLS/DHE-RSA-AES256-SHA; 05 Aug 2012 04:31:00 -0700 Received: from lx-tlinder2.qi.qualcomm.com (pdmz-ns-snip_218_1.qualcomm.com [192.168.218.1]) by mostmsg01.qualcomm.com (Postfix) with ESMTPA id E309410004BE; Sun, 5 Aug 2012 04:30:57 -0700 (PDT) From: Tatyana Brokhman To: axboe@kernel.dk Cc: linux-mmc@vger.kernel.org, linux-arm-msm@vger.kernel.org, Tatyana Brokhman , linux-kernel@vger.kernel.org (open list) Subject: [RFC/PATCH 1/2] block: Expose kblock_schedule_delayed_work() Date: Sun, 5 Aug 2012 14:30:40 +0300 Message-Id: <1344166241-18708-2-git-send-email-tlinder@codeaurora.org> X-Mailer: git-send-email 1.7.6 In-Reply-To: <1344166241-18708-1-git-send-email-tlinder@codeaurora.org> References: <1344166241-18708-1-git-send-email-tlinder@codeaurora.org> Sender: linux-mmc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-mmc@vger.kernel.org This function is exported in blk-core.c to be used in other modules but it's definition in h file is missing. Signed-off-by: Tatyana Brokhman --- include/linux/blkdev.h | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/include/linux/blkdev.h b/include/linux/blkdev.h index dc63297..ac0d069 100644 --- a/include/linux/blkdev.h +++ b/include/linux/blkdev.h @@ -1208,6 +1208,8 @@ static inline void put_dev_sector(Sector p) struct work_struct; int kblockd_schedule_work(struct request_queue *q, struct work_struct *work); +int kblockd_schedule_delayed_work(struct request_queue *q, + struct delayed_work *dwork, unsigned long delay); #ifdef CONFIG_BLK_CGROUP /*