A bearing is a device to permit fixed direction motion between two parts , typically rotation or linear movement . A bearing is a device to allow constrained relative motion between two or more parts , typically rotation or linear movement .