diff --git a/profile2/patch.patch b/profile2/patch.patch
new file mode 100644
index 0000000..2c9e399
--- /dev/null
+++ b/profile2/patch.patch
@@ -0,0 +1,26 @@
+? patch.patch
+? profile2.views.inc
+Index: profile2.info
+===================================================================
+RCS file: /cvs/drupal-contrib/contributions/modules/profile2/Attic/profile2.info,v
+retrieving revision 1.1.2.10
+diff -r1.1.2.10 profile2.info
+7a8
+> files[] = profile2.views.inc
+9c10
+< configure = admin/structure/profiles
+\ No newline at end of file
+---
+> configure = admin/structure/profiles
+Index: profile2.module
+===================================================================
+RCS file: /cvs/drupal-contrib/contributions/modules/profile2/Attic/profile2.module,v
+retrieving revision 1.1.2.60
+diff -r1.1.2.60 profile2.module
+710a711,716
+> function profile2_views_api() {
+>   return array(
+>     'api' => '2',
+>     'path' => drupal_get_path('module', 'profile2'),
+>   );
+> }
diff --git a/profile2_ori/profile2.info b/profile2/profile2.info
index 2b2663e..5d71686 100644
--- a/profile2_ori/profile2.info
+++ b/profile2/profile2.info
@@ -5,5 +5,6 @@ core = 7.x
 files[] = profile2.admin.inc
 files[] = profile2.info.inc
 files[] = profile2.test
+files[] = profile2.views.inc
 dependencies[] = entity
-configure = admin/structure/profiles
\ No newline at end of file
+configure = admin/structure/profiles
diff --git a/profile2_ori/profile2.module b/profile2/profile2.module
index e3d5d27..4f35b56 100644
--- a/profile2_ori/profile2.module
+++ b/profile2/profile2.module
@@ -708,3 +708,9 @@ function profile2_user_get_properties($account, array $options, $name) {
   return $profile ? $profile : NULL;
 }
 
+function profile2_views_api() {
+  return array(
+    'api' => '2',
+    'path' => drupal_get_path('module', 'profile2'),
+  );
+}
diff --git a/profile2/profile2.views.inc b/profile2/profile2.views.inc
new file mode 100644
index 0000000..68a6df2
--- /dev/null
+++ b/profile2/profile2.views.inc
@@ -0,0 +1,16 @@
+<?php 
+//$Id//
+
+function profile2_views_data_alter(&$data) {
+  $data['users']["profiles"] = array(
+    'relationship' => array(
+      'label' => t('Profile'),
+      'base' => 'profile',
+      'base field' => 'uid',
+      'relationship field' => 'uid',
+      'handler' => 'views_handler_relationship',
+    ),
+    'title' => t("Profiles"),
+    'help' => t("The user's profiles"),
+  );
+}
