aboutsummaryrefslogtreecommitdiff
path: root/drivers/staging/rts5139/Makefile
diff options
context:
space:
mode:
authoredwin_rong <edwin_rong@realsil.com.cn>2011-07-19 17:10:35 +0800
committerJohn Rigby <john.rigby@linaro.org>2011-11-16 14:49:21 -0700
commit0a0a3adfb9678a132e29e9cd4ee5482bf12c4da3 (patch)
tree6788b0e66668e9fa53153439125f062cc745067f /drivers/staging/rts5139/Makefile
parent50b554931d122d7e837adce142c13fd2c70ae86f (diff)
UBUNTU: SAUCE: Staging: add driver for Realtek RTS5139 cardreader
BugLink: http://bugs.launchpad.net/bugs/824273 This driver is used for Realtek RTS5139 USB cardreader, which supports many cards, such as SD, MS, XD series cards. Signed-off-by: edwin_rong <edwin_rong@realsil.com.cn> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de> (cherry picked from staging-next commit 1dac4186bcc663cb8c2bcc59481aea8fe9124a6c) Signed-off-by: Keng-Yu Lin <kengyu@canonical.com> Acked-by: Tim Gardner <tim.gardner@canonical.com> Signed-off-by: Leann Ogasawara <leann.ogasawara@canonical.com>
Diffstat (limited to 'drivers/staging/rts5139/Makefile')
-rw-r--r--drivers/staging/rts5139/Makefile37
1 files changed, 37 insertions, 0 deletions
diff --git a/drivers/staging/rts5139/Makefile b/drivers/staging/rts5139/Makefile
new file mode 100644
index 00000000000..82b8958e8d3
--- /dev/null
+++ b/drivers/staging/rts5139/Makefile
@@ -0,0 +1,37 @@
+# Driver for Realtek RTS51xx USB card reader
+#
+# Copyright(c) 2009 Realtek Semiconductor Corp. All rights reserved.
+#
+# This program is free software; you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation; either version 2, or (at your option) any
+# later version.
+#
+# This program is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License along
+# with this program; if not, see <http://www.gnu.org/licenses/>.
+#
+# Author:
+# wwang (wei_wang@realsil.com.cn)
+# No. 450, Shenhu Road, Suzhou Industry Park, Suzhou, China
+# Maintainer:
+# Edwin Rong (edwin_rong@realsil.com.cn)
+# No. 450, Shenhu Road, Suzhou Industry Park, Suzhou, China
+#
+# Makefile for the RTS51xx USB Card Reader drivers.
+#
+
+TARGET_MODULE := rts5139
+
+EXTRA_CFLAGS := -Idrivers/scsi -I$(PWD)
+
+obj-m += $(TARGET_MODULE).o
+
+common-obj := rts51x_transport.o rts51x_scsi.o rts51x_fop.o
+
+$(TARGET_MODULE)-objs := $(common-obj) rts51x.o rts51x_chip.o rts51x_card.o \
+ xd.o sd.o ms.o sd_cprm.o ms_mg.o