 modules/customer/commerce_customer.module          | 31 ----------------------
 .../includes/views/commerce_customer.views.inc     | 31 ++++++++++++++++++++++
 2 files changed, 31 insertions(+), 31 deletions(-)

diff --git a/modules/customer/commerce_customer.module b/modules/customer/commerce_customer.module
index 2817ee5..427d696 100644
--- a/modules/customer/commerce_customer.module
+++ b/modules/customer/commerce_customer.module
@@ -418,37 +418,6 @@ function commerce_customer_commerce_checkout_pane_info() {
 }
 
 /**
- * Implements hook_field_views_data().
- */
-function commerce_customer_field_views_data($field) {
-  $data = field_views_field_default_views_data($field);
-
-  // Build an array of bundles the customer profile reference field appears on.
-  $bundles = array();
-
-  foreach ($field['bundles'] as $entity => $entity_bundles) {
-    $bundles[] = $entity . ' (' . implode(', ', $entity_bundles) . ')';
-  }
-
-  foreach ($data as $table_name => $table_data) {
-    foreach ($table_data as $field_name => $field_data) {
-      if (isset($field_data['filter']['field_name']) && $field_name != 'delta') {
-        $data[$table_name][$field_name]['relationship'] = array(
-          'title' => t('Referenced customer profile'),
-          'help' => t('Appears in: @bundles.', array('@bundles' => implode(', ', $bundles))),
-          'base' => 'commerce_customer_profile',
-          'base field' => 'profile_id',
-          'handler' => 'views_handler_relationship',
-          'label' => t('Customer profile'),
-        );
-      }
-    }
-  }
-
-  return $data;
-}
-
-/**
  * Implements hook_field_delete_field().
  */
 function commerce_customer_field_delete_field($field) {
diff --git a/modules/customer/includes/views/commerce_customer.views.inc b/modules/customer/includes/views/commerce_customer.views.inc
index ba5d35c..80adf26 100644
--- a/modules/customer/includes/views/commerce_customer.views.inc
+++ b/modules/customer/includes/views/commerce_customer.views.inc
@@ -263,3 +263,34 @@ function commerce_customer_views_data() {
 
   return $data;
 }
+
+/**
+ * Implements hook_field_views_data().
+ */
+function commerce_customer_field_views_data($field) {
+  $data = field_views_field_default_views_data($field);
+
+  // Build an array of bundles the customer profile reference field appears on.
+  $bundles = array();
+
+  foreach ($field['bundles'] as $entity => $entity_bundles) {
+    $bundles[] = $entity . ' (' . implode(', ', $entity_bundles) . ')';
+  }
+
+  foreach ($data as $table_name => $table_data) {
+    foreach ($table_data as $field_name => $field_data) {
+      if (isset($field_data['filter']['field_name']) && $field_name != 'delta') {
+        $data[$table_name][$field_name]['relationship'] = array(
+          'title' => t('Referenced customer profile'),
+          'help' => t('Appears in: @bundles.', array('@bundles' => implode(', ', $bundles))),
+          'base' => 'commerce_customer_profile',
+          'base field' => 'profile_id',
+          'handler' => 'views_handler_relationship',
+          'label' => t('Customer profile'),
+        );
+      }
+    }
+  }
+
+  return $data;
+}
