]> nv-tegra.nvidia Code Review - linux-2.6.git/commit
cciss: make device attrs static
authorAlex Chiang <achiang@hp.com>
Fri, 13 Nov 2009 07:47:53 +0000 (08:47 +0100)
committerJens Axboe <jens.axboe@oracle.com>
Fri, 13 Nov 2009 07:47:53 +0000 (08:47 +0100)
commit69ac74822277fa999a3f469d8362e93262deb3f4
tree5cdf77c917b1ead24cc88c9271bca00caa91e680
parentc62b17a58ab5e97534ff6487241addd5fcc606de
cciss: make device attrs static

No need to export those device attributes.

In fact, without this patch, we can trip over a build error if cciss
is a built-in and another driver also declares and exports attributes
with the same name.

You'll see errors like:

drivers/scsi/built-in.o: multiple definition of `dev_attr_lunid'
drivers/block/built-in.o: first defined here

Cc: Stephen M. Cameron <scameron@beardog.cce.hp.com>
Signed-off-by: Alex Chiang <achiang@hp.com>
Cc: <mike.miller@hp.com>
Cc: Jens Axboe <jens.axboe@oracle.com>
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
drivers/block/cciss.c