s6y O Reilly Automotive Inc 11-K

O Reilly Automotive Inc 11-K, filed Jun 29, 2010: Consent of Ernst & Young LLP, Independent Registered Public Accounting Firm

Exhibit 23.1

Consent of Independent Registered Public Accounting Firm

We consent to the incorporation by reference in the Registration Statements (Forms S-8 No. 333-136958 and No. 333-59568) pertaining to the O’Reilly Automotive, Inc. Profit Sharing and Savings Plan of our report dated June 29, 2010, with respect to the financial statements and schedule of the O’Reilly Automotive, Inc. Profit Sharing and Savings Plan included in this Annual Report (Form 11-K) for the year ended December 31, 2009.

/s/ Ernst & Young LLP

Kansas City, Missouri

June 29, 2010