]> git.neil.brown.name Git - history.git/commitdiff
[PATCH] static functions in as-iosched.c
authorAndrew Morton <akpm@osdl.org>
Thu, 29 Apr 2004 00:20:22 +0000 (17:20 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Thu, 29 Apr 2004 00:20:22 +0000 (17:20 -0700)
From: Stephen Hemminger <shemminger@osdl.org>

drivers/block/as-iosched.c

index b7741a1b0526b197ecd202b2f5b929a6e8e0f9d0..5d13891efc22816e91799eef43753e25f611d918 100644 (file)
@@ -914,7 +914,7 @@ static void as_update_arq(struct as_data *ad, struct as_rq *arq)
 /*
  * Gathers timings and resizes the write batch automatically
  */
-void update_write_batch(struct as_data *ad)
+static void update_write_batch(struct as_data *ad)
 {
        unsigned long batch = ad->batch_expire[REQ_ASYNC];
        long write_time;
@@ -2049,7 +2049,7 @@ static struct sysfs_ops as_sysfs_ops = {
        .store  = as_attr_store,
 };
 
-struct kobj_type as_ktype = {
+static struct kobj_type as_ktype = {
        .sysfs_ops      = &as_sysfs_ops,
        .default_attrs  = default_attrs,
 };